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