使用typeof判断function是否存在于上下文 在窗口加载时,使用typeof判断function是否存在于上下文 <script type="text javascript"> window onload JavaScript 2022-04-08 179 点赞 2 评论 271 浏览