Skip to content

Commit c43028a

Browse files
committed
Day 15 interview js
1 parent 35feedc commit c43028a

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
2+
/*
3+
1. function fn(){
4+
console.log("hai")
5+
}
6+
7+
console.log(fn.name); //fn
8+
9+
10+
11+
2. function abc(xyz){
12+
console.log(~xyz);
13+
}
14+
15+
abc(1.12);//-2
16+
17+
18+
3. function abc(a, b, c = 0) {
19+
}
20+
21+
console.log(abc.length);//2
22+
23+
24+
function abc(a, b, c ) {
25+
}
26+
27+
console.log(abc.length);//3
28+
29+
30+
31+
function abc(a, b=0, c ) {
32+
}
33+
34+
console.log(abc.length);//1
35+
36+
37+
function abc(a=0, b, c ) {
38+
}
39+
40+
console.log(abc.length);//0
41+
42+
*/
43+
44+
45+
46+
47+
48+
49+
50+
51+

0 commit comments

Comments
 (0)