Tests that Command Line API doesn't override defined on window methods and can be overridden during evaluation.
Check that CommandLineAPI isn't enumerable on window object:
non enumerable
Override dir:
function dir() { [native code] } -> 239
CommandLineAPI doesn't override dir:
239
CommandLineAPI is presented after removing override variable:
function dir() { [native code] } -> 239
Override $_:
42 -> 239
CommandLineAPI doesn't override $_:
239
CommandLineAPI is presented after removing override variable:
true -> 239
CommandLineAPI can be overridden by var dir = 1:
1
CommandLineAPI doesn't override var dir = 1:
1
CommandLineAPI can be overridden by Object.defineProperty:
239
CommandLineAPI doesn't override Object.defineProperty:
239