7 lines
254 B
JavaScript
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));
|
|
};
|