Page MenuHomePhorge

with.js
No OneTemporary

Size
256 B
Referenced Files
None
Subscribers
None
var a;
with (Math) a = PI;
var b = {
get_member: function () {
return this.member;
},
member: 41
};
with (b) {
let a = get_member(); //<--- a is local for this block
var c = a + 1;
}
result = a == Math.PI && c == 42;
console.log(result);

File Metadata

Mime Type
text/plain
Expires
Sun, May 3, 8:54 AM (3 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
524620
Default Alt Text
with.js (256 B)

Event Timeline