0

In JavaScript how 4 to 2 etc

Power power functions

11th Dec 2018, 1:38 AM
SURESH MALVIYA
SURESH MALVIYA - avatar
5 Answers
+ 2
var four = 4; var two = four - 2;
11th Dec 2018, 11:21 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 1
Hi! You can use Math.pow(4, 2) to get 4 to the power of 2.
11th Dec 2018, 1:41 AM
Kishalaya Saha
Kishalaya Saha - avatar
+ 1
Okkk sir
11th Dec 2018, 2:49 AM
SURESH MALVIYA
SURESH MALVIYA - avatar
0
4 - 2
11th Dec 2018, 8:11 AM
CalviŐ˛
CalviŐ˛ - avatar
0
Sir pls explain by making small code based on superscript
11th Dec 2018, 10:31 AM
SURESH MALVIYA
SURESH MALVIYA - avatar