Array.prototype[Symbol.unscopables] is not a function #34610
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Milestone
TypeScript Version: 3.7.0-dev.20191018
Search Terms:
Code
Expected behavior:
x.copyWithin
occurs no error, and[][Symbol.unscopables]()
occurs type error.Actual behavior:
x.copyWithin
occurs type error, and[][Symbol.unscopables]()
occurs runtime exception.Playground Link:
http://www.typescriptlang.org/play/?ts=Nightly&ssl=6&ssc=1&pln=1&pc=1#code/MYewdgzgLgBAHjAvDA2gXRQZQJ4FsBGIANgHQCukoADgIb5ECmEaA3ALABQokxDJRIAOYAKOCWrYA6gEsoAC2lgAlOw6du0GNiSoMOAsXKUQtekzTCV68BF78hw7OJNTZC5aqA
Related Issues:
The text was updated successfully, but these errors were encountered: