The outcome of the following JavaScript code is: function P…
The outcome of the following JavaScript code is: function Parent() { var x = 10; function child1() { x = 20; child2(); } function child2() { var x = 10; } child1(); console.log(“x value is: ” + x); } Parent();
Read Details