mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-04 04:40:05 +02:00
add some packages
This commit is contained in:
8
node_modules/core-js/modules/_string-context.js
generated
vendored
Normal file
8
node_modules/core-js/modules/_string-context.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
// helper for String#{startsWith, endsWith, includes}
|
||||
var isRegExp = require('./_is-regexp');
|
||||
var defined = require('./_defined');
|
||||
|
||||
module.exports = function (that, searchString, NAME) {
|
||||
if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!");
|
||||
return String(defined(that));
|
||||
};
|
Reference in New Issue
Block a user