debian-mirror-gitlab/core-js/internals/to-object.js
2019-09-25 13:30:05 +05:30

7 lines
254 B
JavaScript

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