Update stringPrototypeBlacklist object

stringPrototypeBlacklist is updated according to ES6
String.prototype.repeat() method
This commit is contained in:
Osman Mesut OZCAN 2017-01-31 18:17:11 +08:00 committed by GitHub
parent 7e1e601ddc
commit 511aa7f822

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','repeat' , 'replace', 'search', 'slice', 'split', 'substring',
'indexOf', 'lastIndexof', 'length', 'localeCompare', 'match', 'repeat', 'replace', 'search', 'slice', 'split', 'substring',
'toLocaleLowerCase', 'toLocaleUpperCase', 'toLowerCase', 'toUpperCase', 'trim', 'trimLeft', 'trimRight'
];