Update stringPrototypeBlacklist object

stringPrototypeBlacklist is updated according to ES6
String.prototype.repeat() method.
This commit is contained in:
Osman Mesut Ozcan 2017-01-31 17:52:50 +08:00
parent 9f3ace4470
commit 7e1e601ddc

View File

@ -67,7 +67,7 @@ module['exports'] = function () {
var stringPrototypeBlacklist = [
'__defineGetter__', '__defineSetter__', '__lookupGetter__', '__lookupSetter__', 'charAt', 'constructor',
'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'valueOf', 'charCodeAt',
'indexOf', 'lastIndexof', 'length', 'localeCompare', 'match', 'replace', 'search', 'slice', 'split', 'substring',
'indexOf', 'lastIndexof', 'length', 'localeCompare', 'match','repeat' , 'replace', 'search', 'slice', 'split', 'substring',
'toLocaleLowerCase', 'toLocaleUpperCase', 'toLowerCase', 'toUpperCase', 'trim', 'trimLeft', 'trimRight'
];
@ -110,4 +110,4 @@ module['exports'] = function () {
}
};
};
};