摘要:
What does a character class with only a lone caret do? [^][…] is not two character classes but just one character class containing any other character 阅读全文
posted @ 2020-12-29 14:21
ChuckLu
阅读(110)
评论(0)
推荐(0)
摘要:
What is the point of void operator in JavaScript? I've seen some people using void operator in their code. I have also seen this in href attributes: j 阅读全文
posted @ 2020-12-29 10:28
ChuckLu
阅读(75)
评论(0)
推荐(0)
摘要:
In javascript, is an empty string always false as a boolean? in javascript, var a = ''; var b = (a) ? true : false; var b will be set to false. is thi 阅读全文
posted @ 2020-12-29 10:11
ChuckLu
阅读(90)
评论(0)
推荐(0)
摘要:
Why a is undefined while b is 3 in var a=b=3? In the following code, I expected both a and b to be 3. However, a is undefined and b is 3. Why? (functi 阅读全文
posted @ 2020-12-29 10:07
ChuckLu
阅读(110)
评论(0)
推荐(0)