Files
2026-08-27 21:09:14 +00:00

6 lines
230 B
JavaScript
Generated

"use strict";
// Test that 'use strict' makes it CommonJS when we otherwise don't know which one to pick.
// Without that, this direct eval becomes indirect, throwing a ReferenceError.
console.log(eval("typeof module.require"));