debian-mirror-gitlab/core-js/internals/to-object.js

8 lines
254 B
JavaScript
Raw Normal View History

2019-09-25 13:30:05 +05:30
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));
};