11 lines
250 B
JavaScript
11 lines
250 B
JavaScript
|
'use strict';
|
||
|
|
||
|
var $Object = require('./');
|
||
|
var RequireObjectCoercible = require('./RequireObjectCoercible');
|
||
|
|
||
|
/** @type {import('./ToObject')} */
|
||
|
module.exports = function ToObject(value) {
|
||
|
RequireObjectCoercible(value);
|
||
|
return $Object(value);
|
||
|
};
|