当前位置:
首页 >
js 中caller的意思,这段代码看不懂,帮看看
发布时间:2023/11/16
51
博士
生活随笔
收集整理的这篇文章主要介绍了
js 中caller的意思,这段代码看不懂,帮看看
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
直接写 函数名(laydate)不优雅,后期函数改名后都要改,可以用callee,最终实现的效果都是一样的。
If the function f was invoked by the top level code, the value of f.caller is null, otherwise its the function that called f.这东西好像不建议使用。
调用 laydate 函数的函数的第一个参数。
If the function f was invoked by the top level code, the value of f.caller is null, otherwise its the function that called f.这东西好像不建议使用。
调用 laydate 函数的函数的第一个参数。
总结
以上是生活随笔为你收集整理的js 中caller的意思,这段代码看不懂,帮看看的全部内容,希望文章能够帮你解决所遇到的问题。