1. Math.pow() 2. Using Exponentation 3. x * x
Math.pow(x,2) => means x to the 2 (square)
x **2 => means square of x
x*x => means square of x
구글링하면서 알게된것인데 100% 신뢰는 되지 않지만 성능은 3번이 가장 좋다고 합니다.