Open littledan opened 7 years ago
Test case:
Object.defineProperty(this, 'f', {}) eval('{function f() {}}') print(Object.getOwnPropertyDescriptor(this, 'f').value)
ChakraCore outputs the function, whereas three other engines output undefined. ChakraCore ignored the fact that the property was non-writable and non-configurable to get this output.
undefined
@curtisman Could you help triage this please ?
Confirmed in 2.0 and master:
#### d8, sm, node undefined #### node-ch [Function: f] #### ch-master, ch-2.0 function f() {}
Test case:
ChakraCore outputs the function, whereas three other engines output
undefined
. ChakraCore ignored the fact that the property was non-writable and non-configurable to get this output.