function func1() { console.log('1'); return 1; }
function func2() { console.log('2'); return 2; }
function func3() { console.log('3'); return 3; }
function func4() { console.log('4'); return 4; }
function func5() { console.log('5'); return 5; }
const z = func1() + func2() * func3() + func4() ** func5();
In what order will the numbers be displayed in the console?
I remind you of operators precedence (the higher the number, the higher the priority):
14 Exponentiation (**)
13 Multiplication (*)
12 Addition (+)