第一節
- Functions :: Eloquent JavaScript
- This code works, even though the function is defined below the code that uses it. This is because function declarations are not part of the regular top-to-bottom flow of control.
- 這篇提到JavaScript的確可以把function定義在後面,然後在前面先調用
- Variables declared outside of any function are called global, because they are visible throughout the program.
- 讀這篇時發現,昨天卡我卡很久的requestAnimationFrame是透過Recursion的寫法(遞迴)
讀到Recursion的部分未讀完,回台北繼續。
今晚讀到CH4,要準備讀Object
今晚讀到CH4,要準備讀Object
沒有留言:
張貼留言