111
k94314517
2025-06-18 efb9570ba3ba966200b82ca7b99c5e72672ee738
1
2
3
4
5
6
7
8
9
10
11
'use strict';
var isObject = require('../internals/is-object');
 
var $String = String;
var $TypeError = TypeError;
 
// `Assert: Type(argument) is Object`
module.exports = function (argument) {
  if (isObject(argument)) return argument;
  throw new $TypeError($String(argument) + ' is not an object');
};