《Data Structures and Algorithms with JavaScript》(http://amzn.to/2vDDbHQ)真是一本非常出色的书,哪怕你根本不用 JavaScript 做任何事情(我第一次读它时就不用,但依然觉得收益极大)。
Data Structures and Algorithms with JavaScript (http://amzn.to/2vDDbHQ) is a really excellent book, even if you're not using JavaScript for anything (I wasn't when I first read it, and still found it immensely helpful).
我正在读《Data structures and Algorithms with Javascript》,翻到第 9 页读到“……Javascript 没有块级作用域……”时,我整个人都 WTF 了!这意味着下面这段代码居然能跑通!我的天!for(var i=0; i<=10; i++){ // 什么都不做 } //……
I'm currently reading "Data structures and Algorithms with Javascript" and I had a WTF! moment when I got to page 9 and read "...Javascript does not have a block scope..." Meaning this piece of code works! Blimey! for(var i=0; i<=10; i++){ // do nothing } //…
《Data Structures and Algorithms with JavaScript》(http://amzn.to/2vDDbHQ)真是一本非常出色的书,哪怕你根本不用 JavaScript 做任何事情(我第一次读它时就不用,但依然觉得收益极大)。
Data Structures and Algorithms with JavaScript (http://amzn.to/2vDDbHQ) is a really excellent book, even if you're not using JavaScript for anything (I wasn't when I first read it, and still found it immensely helpful).
我正在读《Data structures and Algorithms with Javascript》,翻到第 9 页读到“……Javascript 没有块级作用域……”时,我整个人都 WTF 了!这意味着下面这段代码居然能跑通!我的天!for(var i=0; i<=10; i++){ // 什么都不做 } //……
I'm currently reading "Data structures and Algorithms with Javascript" and I had a WTF! moment when I got to page 9 and read "...Javascript does not have a block scope..." Meaning this piece of code works! Blimey! for(var i=0; i<=10; i++){ // do nothing } //…