摘要: 整理几个被遗忘的js基础代码题,还都能答对吗? 我们每个人面试的时候,面试官都会问一些js基础的概念。比如说说你对闭包的理解,说说你对原型和原型链的理解,作用域和作用域链的理解,var、let、const的区别、promise的理解等等,相信这些概念性的东西,我们都能回答个八九不离十。 但如果面试官 阅读全文
posted @ 2021-01-23 21:11 ChuckLu 阅读(159) 评论(0) 推荐(0)
摘要: MDN Web Docs Glossary: Definitions of Web-related terms Hoisting Hoisting is a term you will not find used in any normative规范的,标准的 specification prose 阅读全文
posted @ 2021-01-23 18:03 ChuckLu 阅读(101) 评论(0) 推荐(0)
摘要: What is the scope of variables in JavaScript? What is the scope of variables in javascript? Do they have the same scope inside as opposed to outside a 阅读全文
posted @ 2021-01-23 15:28 ChuckLu 阅读(154) 评论(0) 推荐(0)