Notifications
Clear all

CORRECT TEXT

1 Posts
1 Users
0 Likes
40 Views
Dante
(@cornadante)
Posts: 393
Noble Member
Topic starter
 

CORRECT TEXT

Refer the code below.

x=3.14;

function myfunction() {

"use strict";

y=x;

}

z=x;

myFunction();

Show Answer Hide Answer

Suggested Answer: Z is equal to 3.14

Use strict has effect only on line 5.

Line 5 throws an error
 
Posted : 16/01/2023 7:45 pm
Share: