mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-04 12:40:05 +02:00
add some packages
This commit is contained in:
9
node_modules/core-js/modules/_collection-to-json.js
generated
vendored
Normal file
9
node_modules/core-js/modules/_collection-to-json.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// https://github.com/DavidBruant/Map-Set.prototype.toJSON
|
||||
var classof = require('./_classof');
|
||||
var from = require('./_array-from-iterable');
|
||||
module.exports = function (NAME) {
|
||||
return function toJSON() {
|
||||
if (classof(this) != NAME) throw TypeError(NAME + "#toJSON isn't generic");
|
||||
return from(this);
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user