Closed isRyven closed 3 years ago
As a result can't pass a simple test like this:
var str = new String("abc"); var splits = str.split(); if (splits[0] !== "abc") { throw new Error('splits[0] !== "abc"'); }
Because resulted array contains reference to a context object as first argument.
As a result can't pass a simple test like this:
Because resulted array contains reference to a context object as first argument.