摘要: 一篇关于 runtime 的文章,很有意思: https://medium.com/@gemma.stiles/understanding-the-javascript-runtime-environment-4dd8f52f6fca 阅读全文
posted @ 2022-03-28 14:37 _王宁宁 阅读(33) 评论(0) 推荐(0)
摘要: 转变认知 setTimeout 可能是很多前端工程师爱用的方法,它可以使得一段代码延迟执行,例如: setTimeout(() => console.log('A'), 1000); // 在1秒后打印出'A' 不过我们的理解可能在某些时候遭遇挑战,假定有如下代码: for (var i = 0; 阅读全文
posted @ 2022-03-28 11:13 _王宁宁 阅读(174) 评论(0) 推荐(0)
摘要: 看到一篇介绍JS诞生历史的文章,很有意思,文章里描述了很多的历史细节 https://webdevelopmenthistory.com/1995-the-birth-of-javascript/ 阅读全文
posted @ 2022-03-23 10:39 _王宁宁 阅读(31) 评论(0) 推荐(0)
摘要: Get Started - 前言 But let me be clear: I don't think it's possible to ever fully know JS. That's not an achievement to be obtained, but a goal to striv 阅读全文
posted @ 2022-03-21 15:17 _王宁宁 阅读(89) 评论(0) 推荐(0)
摘要: 本文改写整理自一篇博文,原文链接如下: Why you should use the key directive in Vue.js with v-for Application state and DOM state 要回答这个问题,我们先要了解一下以下两个概念:应用状态(Application 阅读全文
posted @ 2022-03-18 09:48 _王宁宁 阅读(163) 评论(0) 推荐(0)
摘要: 本文旨在帮助自己和大家理解 JS 里的 this, 翻译、整理并改写自本人关注的一个博主 Dmitri Pavlutin,原文链接如下: https://dmitripavlutin.com/gentle-explanation-of-this-in-javascript/ 欢迎大家批评指正、共同进 阅读全文
posted @ 2022-03-01 11:56 _王宁宁 阅读(135) 评论(0) 推荐(0)