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

11 lines
250 B
JavaScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
'use strict';
var $Object = require('./');
var RequireObjectCoercible = require('./RequireObjectCoercible');
/** @type {import('./ToObject')} */
module.exports = function ToObject(value) {
RequireObjectCoercible(value);
return $Object(value);
};