mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 15:21:17 -05:00
2d19ae8e3c
A class can name any constructor in extends. The docs said extending a built-in other than Object, Function, Array, String, Number, Boolean, RegExp, Date and the error types throws; the TypeError comes when new on the class reaches the built-in constructor. The docs now say so, a test covers the rule, and the Options::es2015 doc lists classes and object literal methods.