JS Challenge: 2
Number Datatype
Number is the primitive datatype of JavaScript. It includes both Integer(1,2,3, -5) and Floating point Numbers(3.14, -5.66).
const number1 = 10
const number2 = 20
const addition = number1 + number2
console.log(addition)
Challenge:
- Enter different values for both number1 and number2
- Log the output in console using console.log()