PromoCursed/node_modules/core-js/internals/to-object.js
2024-08-20 23:25:37 +04:00

11 lines
285 B
JavaScript

'use strict';
var requireObjectCoercible = require('../internals/require-object-coercible');
var $Object = Object;
// `ToObject` abstract operation
// https://tc39.es/ecma262/#sec-toobject
module.exports = function (argument) {
return $Object(requireObjectCoercible(argument));
};