mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
7 lines
221 B
JavaScript
7 lines
221 B
JavaScript
|
// `RequireObjectCoercible` abstract operation
|
||
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
||
|
module.exports = function (it) {
|
||
|
if (it == undefined) throw TypeError("Can't call method on " + it);
|
||
|
return it;
|
||
|
};
|