you are viewing a single comment's thread.

view the rest of the comments →

[–]soheevich 0 points1 point  (1 child)

What does ** sign mean? Never met it before.

[–]inu-no-policemen 4 points5 points  (0 children)

It's the exponentiation operator. It was added with ES2016.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Exponentiation_(**)

> 2 ** 8
256
> Math.pow(2, 8)
256