Page MenuHomePhorge

test_without_strict.cjs
No OneTemporary

Size
236 B
Referenced Files
None
Subscribers
None

test_without_strict.cjs

// Test 1: with statement should work without 'use strict'
let obj = { x: 10, y: 20 };
with (obj) {
console.log("Test 1 - x:", x); // should print 10
console.log("Test 1 - y:", y); // should print 20
}
console.log("Test 1 passed");

File Metadata

Mime Type
application/javascript
Expires
Fri, Mar 27, 11:40 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
512403
Default Alt Text
test_without_strict.cjs (236 B)

Event Timeline