- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfor_in.html
More file actions
Latest commit
35 lines (26 loc) · 526 Bytes
/
Copy pathfor_in.html
File metadata and controls
35 lines (26 loc) · 526 Bytes
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
<!DOCTYPE html>
<htmllang="en">
<head>
<metacharset="UTF-8">
<title>demo</title>
</head>
<body>
<script>
varperson={
firstname : 'Abinash',
lastname : 'Saha',
age : '27',
gender : 'Male'
}
varb;
for(binperson){
document.write(person[b]+' <br/>')
}
document.write('<br/> <br/>')
vara;
for(ainnavigator){
document.write(a+' : '+navigator[a]+'<br/>');
}
</script>
</body>
</html>