crop_rotate
Run
<!DOCTYPE html> <html> <body> <h4> Operator Precedence In Javascript.</h4> <script> let x = 10; let y = 5; let z = 3; document.write( x + y ** z ); /* Result is 135 [ 5 * 5 * 5 + 10 ] */ document.write("<br>"); document.write( (x + y) ** z ); /* Result is 3375 [ 10 + 5 = 15 * 15 * 15 ] */ </script> </body> </html>
Operator Precedence In Javascript.