mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-13 02:20:18 +00:00
7 lines
228 B
JavaScript
7 lines
228 B
JavaScript
|
// `RequireObjectCoercible` abstract operation
|
||
|
// https://tc39.github.io/ecma262/#sec-requireobjectcoercible
|
||
|
module.exports = function (it) {
|
||
|
if (it == undefined) throw TypeError("Can't call method on " + it);
|
||
|
return it;
|
||
|
};
|