can i bypass strict mode?
When I try use
Deno Run
, it complains
error: Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
const answer = o[s];
^5 Replies
Looks like I can use javascript for the particular function if there isn't a better way
strict mode is enabled by default and can't be disabled in ESM modules
and Deno is built on ESM
thank you. looks I can't even import it as java script.
Is there some other way when I am using
Object.getOwnPropertyNames
rather than just getting the names, to get the current values?Object.keys()
?
Is there a version that will work on function objects?