摘要: if (!String.prototype.includes) { String.prototype.includes = function(search, start) { 'use strict'; if (typeof start !== 'number') { start = 0; } if 阅读全文
posted @ 2016-04-28 08:12 shidengyun 阅读(182) 评论(0) 推荐(0) 编辑
摘要: if (!Array.prototype.includes) { Array.prototype.includes = function(searchElement /*, fromIndex*/ ) { 'use strict'; var O = Object(this); var len = p 阅读全文
posted @ 2016-04-28 08:09 shidengyun 阅读(201) 评论(0) 推荐(0) 编辑