mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 09:46:19 +01:00
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.