squared operator js code example Example: javascript squared //squared numbers Math.pow(x1, 2) x1 * x1 x1 ** 2 // ES6 syntax