上一页 1 ··· 207 208 209 210 211 212 213 214 215 ··· 491 下一页
摘要: What makes objects different is that we can create more of them. Every time we use the {} object literal, we create a brand new object value: let shre 阅读全文
posted @ 2020-02-25 18:46 Zhentiw 阅读(103) 评论(0) 推荐(0)
摘要: When you give an element an id attr, it will automaticlly create a object with the same name of id: <form id="theform" action="/" method="post"> <labe 阅读全文
posted @ 2020-02-25 02:22 Zhentiw 阅读(147) 评论(0) 推荐(0)
摘要: Let's see a simple code example: let pet = "dog" console.log(pet) We have console.log(pet) inside the code, when you read it, you might say: Pass ´pet 阅读全文
posted @ 2020-02-24 18:39 Zhentiw 阅读(142) 评论(0) 推荐(0)
摘要: It can be confusing to understand when and how the .prototype and .proto properties are created and used. They both seem to imply having something to 阅读全文
posted @ 2020-02-21 20:36 Zhentiw 阅读(202) 评论(0) 推荐(0)
摘要: "let" keyword, the same as "const" does hoist the variable. But different from 'var', it does both hoist and assign value as "undefined". "let" in oth 阅读全文
posted @ 2020-02-21 19:48 Zhentiw 阅读(114) 评论(0) 推荐(0)
摘要: Continue with previous post: https://www.cnblogs.com/Answer1215/p/12342540.html Now we need to think about functionExpression and ArrowFunction: funct 阅读全文
posted @ 2020-02-21 19:13 Zhentiw 阅读(460) 评论(0) 推荐(0)
摘要: Continue with the previous post: https://www.cnblogs.com/Answer1215/p/12337243.html What we want to do in this post, is adding parent function name in 阅读全文
posted @ 2020-02-21 18:41 Zhentiw 阅读(282) 评论(0) 推荐(0)
摘要: 第一个原则:四项错误 一个三段论中,只能有三个不同的概念。如果有四个,就一定错了 比如: “人已经存在几百万年了,而你没有存在几百万年,所以你不是人”。看上去只有三个概念, “人,几百万年,你”。但是前后两个“人”的概念不同,前一个是指“人类”,而后一个指的是“人体”。所以总共有四个概念“你,几百万 阅读全文
posted @ 2020-02-21 04:40 Zhentiw 阅读(2447) 评论(0) 推荐(0)
摘要: For example we have current code: function add(a, b) { console.log(a, b) return a + b } function subtract(a, b) { console.log(a, b) return a - b } add 阅读全文
posted @ 2020-02-20 20:15 Zhentiw 阅读(223) 评论(0) 推荐(0)
摘要: The Promise.any() method accepts an array (or any other iterable) of promises as a parameter. It returns a Promise object that is fulfilled with the v 阅读全文
posted @ 2020-02-20 19:01 Zhentiw 阅读(199) 评论(0) 推荐(0)
上一页 1 ··· 207 208 209 210 211 212 213 214 215 ··· 491 下一页