mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-12 05:31:41 +00:00
update
This commit is contained in:
10
node_modules/core-js/modules/es6.object.to-string.js
generated
vendored
Normal file
10
node_modules/core-js/modules/es6.object.to-string.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
// 19.1.3.6 Object.prototype.toString()
|
||||
var classof = require('./_classof');
|
||||
var test = {};
|
||||
test[require('./_wks')('toStringTag')] = 'z';
|
||||
if (test + '' != '[object z]') {
|
||||
require('./_redefine')(Object.prototype, 'toString', function toString() {
|
||||
return '[object ' + classof(this) + ']';
|
||||
}, true);
|
||||
}
|
Reference in New Issue
Block a user