-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (24 loc) · 794 Bytes
/
index.html
File metadata and controls
30 lines (24 loc) · 794 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
<html>
<head>
<title>Console operation</title>
</head>
<body>
<h1>Console operation</h1>
<script>
var first_name="ranbir";
console.log(first_name);
var last_name="kapoor";
console.log(last_name);
var full_name=first_name.concat(last_name);
console.log(full_name);
var square_root=Math.sqrt(10, 5);
console.log(square_root);
var maximum_number=Math.max(15, 18, 20, 10);
console.log(maximum_number);
var minimum_number=Math.min(20, 1, 15, 22);
console.log(minimum_number);
var power=Math.pow(4, 4);
console.log(power);
</script>
</body>
</html>