mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update npm
This commit is contained in:
parent
8341712d58
commit
1bd85100b9
5320 changed files with 58396 additions and 344722 deletions
6
node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
generated
vendored
6
node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
generated
vendored
|
@ -1,3 +1,7 @@
|
|||
export default function _isNativeFunction(fn) {
|
||||
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
||||
try {
|
||||
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
||||
} catch (e) {
|
||||
return typeof fn === "function";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue