Fix the types of builtin prototype objects (#3663)
In ES2015 many builtin prototypes are no longer valid instances of their respective classes. This change updates affected prototypes to be regular objects as required. JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu
This commit is contained in:
@@ -13,4 +13,4 @@
|
||||
// limitations under the License.
|
||||
|
||||
for (var [] of [[], []])
|
||||
String.prototype.split(RegExp.prototype)
|
||||
"".split(new RegExp())
|
||||
|
||||
Reference in New Issue
Block a user