8 lines
247 B
JavaScript
8 lines
247 B
JavaScript
|
var requireObjectCoercible = require('../internals/require-object-coercible');
|
||
|
|
||
|
// `ToObject` abstract operation
|
||
|
// https://tc39.es/ecma262/#sec-toobject
|
||
|
module.exports = function (argument) {
|
||
|
return Object(requireObjectCoercible(argument));
|
||
|
};
|