securityos/node_modules/es-object-atoms/ToObject.js

11 lines
250 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
'use strict';
var $Object = require('./');
var RequireObjectCoercible = require('./RequireObjectCoercible');
/** @type {import('./ToObject')} */
module.exports = function ToObject(value) {
RequireObjectCoercible(value);
return $Object(value);
};