loading
main.js
1
2
3
4
5
'use strict';
var num = 1;
eval("var num = 2");
console.log(num); // 1 for strict mode and 2 for none strict mode
Native Browser JavaScript