Open
Description
TypeScript Version: 3.4.5
Search Terms:
getOwnPropertyDescriptors
Code
Object.getOwnPropertyDescriptors(undefined);
Expected behavior:
Undefined is not accepted.
Actual behavior:
Undefined is accepted.
Playground Link:
https://www.typescriptlang.org/play/index.html#src=Object.getOwnPropertyDescriptors(undefined)%3B
However, can't seem to enable es2017 in the Playground
Related Issues:
n/a