+ 1

What does this mean number ** number?

I have come across it and I don't understand what it does . for example 5 ** 5.

18th Jun 2017, 8:48 AM
Chad Tims
Chad Tims - avatar
8 Respuestas
+ 17
Exponentation... 5**2 = 25 4**2 = 16 6**3 = 6*6*6 ……
18th Jun 2017, 9:17 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 9
true @Valentin, just to say that as per MDN this is a proposal for ECMAScript 2016 (ES7), so chances are quite high it is not yet supported widely.
18th Jun 2017, 10:32 AM
Nikolay Nachev
Nikolay Nachev - avatar
+ 4
Sooooo When ECMAScript of Sololearn gonna be updated????
18th Jun 2017, 11:16 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 3
@Nikolay that I have seen but I was just telling that ** is not supported by java and c++
18th Jun 2017, 11:10 AM
Siddharth Saraf
+ 2
Yes @Nikolay, java and c++ don't support ** operator
18th Jun 2017, 11:05 AM
Siddharth Saraf
+ 2
@Siddharth - see the question tags - it's about JS 😃
18th Jun 2017, 11:06 AM
Nikolay Nachev
Nikolay Nachev - avatar
+ 1
meaning not all browsers support it, and it can't be used in lower javascript versions
18th Jun 2017, 2:51 PM
Chad Tims
Chad Tims - avatar
0
its in python, power of the number. instead of multiplying 2*2*2*2*2 you can do 2**5 i.e., 5 times 2.
20th Jun 2017, 4:19 AM
Sam Shanmukh
Sam Shanmukh - avatar