# Exponentiation precedence

The exponentiation operation takes precedence over multiplication and division. In the following example first the exponentiation and then multiplication will be performed:

`alert(2 * 2 ** 3);`

Without running the code, determine what will be displayed on the screen:

`let a = 3 * 2 ** 3; alert(a);`

Without running the code, determine what will be displayed on the screen:

`let a = (3 * 2) ** 3; alert(a);`

Without running the code, determine what will be displayed on the screen:

`let a = 3 * 2 ** (3 + 1); alert(a);`

Without running the code, determine what will be displayed on the screen:

`let a = 2 ** 3 * 3; alert(a);`

Without running the code, determine what will be displayed on the screen:

`let a = 3 * 2 ** 3 * 3; alert(a);`
←→
↑
en ru