11 lines
285 B
JavaScript
Raw Permalink Normal View History

2024-08-24 20:48:14 +02:00
'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));
};