-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstar.js
More file actions
62 lines (52 loc) · 1.07 KB
/
star.js
File metadata and controls
62 lines (52 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// for(var i=1; i<=5; i++)
// {
// console.log(" \n");
// }
// if(x=5)
// {
// console.log('hii')
// }
// else{
// console.log('hello')
// }
// x=10
// console.log(x+x);
// console.log("x"+"x")
// console.log("x"+(5+x))
// var salary='2000jhh';
// if(salary==0)
// {
// console.log("i am internr")
// }
// else if(salary>=20000)
// {
// console.log("I am senior developer")
// }
// else if(salary<=20000)
// {
// console.log("i ai am a junior software develpom intern")
// }
// else{
// console.log("bye")
// }
// var x=null
// alert(x)
// for(var i=0; i<=5;i++)
// {
// for(var j=0; j<; j++)
// {
// document.write('x')
// }
// document.write('x <br>')
// }
// var partha=daysInMonth
// var months = ['jan','feb','mar','apr','may','jun','jul','aug','sep','oct','nov','dec']
// var days= [31,28,31,30,31,30,31,31,30,31,30,31]
// //months[i]
// for(var i=0;i<=11;i++)
// {
// if(days[i]==31)
// {
// document.writeln(months[i]+' '+days[i]);
// }
// }