You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Two types of operators are there in java script
// 1. Unary operator:It has single operand
c = -c;
console.log(c);
// 2. Binary operator: It has two operand(x = x + 6)
c = 452 + 6;
console.log(c);
var num1 = 5;
var num2 = 2;
console.log("The vlaue of num1 + num2 is: "+ (num1 + num2));
console.log("The vlaue of num1 - num2 is: "+ (num1 - num2));
console.log("The vlaue of num1 * num2 is: "+ (num1 * num2));
console.log("The vlaue of num1 / num2 is: "+ (num1 / num2));
console.log("The vlaue of num1 ** num2 is: "+ (num1 ** num2));
</script>
</head>
<body>
<div class="container">
<h1>This is a heading</h1>
<div class="content">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Odit delectus minima necessitatibus, autem assumenda vero eius eligendi nulla quos ex, similique placeat nisi molestiae iusto non harum tenetur veritatis architecto inventore quaerat deleniti reprehenderit.</p>