JavaScript Programming for Beginners: In This Book It Will Teach You about the Language JavaScript Programming Step-By-Step
商品資訊
ISBN13:9781802261066
出版社:Lightning Source Inc
作者:Tom Clark
出版日:2021/03/19
裝訂:精裝
規格:22.9cm*15.2cm*0.6cm (高/寬/厚)
商品簡介
Our program's control flow is what keeps it running. Although variables and constants hold all of the interesting data, control flow statements allow us to use the data to make useful decisions.
Flowcharts are a fantastic way to visualize control flow, and explaining a problem with a high-level flowchart before digging into the code is often simpler. Code is a more efficient and (with practice) natural way of communicating control flow than flowcharts (many attempts have been made to construct programming languages that were visual only, yet text-based languages have never been threatened by this usurper).
Like most modern languages, JavaScript has a large and useful collection of operators that can be used to manipulate data. Some, like the bitwise operators, are only likely to be used once in a while.
Others, such as member access managers, aren't always considered operators (though they can be useful when trying to solve a difficult operator precedence problem). Assignment, arithmetic, comparison, and Boolean are the most common operators, and you'll be using them often, so make sure you understand them before going on.
JavaScript relies heavily on functions. They are capable of constructing extremely efficient algorithmic units in addition to simply modularizing code. The mechanics of functions have been the focus of this chapter, which is a dry but necessary introduction.
We'll see the power of functions unleashed in the following chapters once we've established this base. Since the value is copied as primitives are passed around in JavaScript, they are referred to as value forms in computer science.
Objects are referred to as reference types since all variables refer to the same object as they are passed around (that is, they both hold a reference to the same object). Similar features can be done in ES5 using arguments, a special variable that only exists within function bodies. This variable was not an array, but rather a "array-like" object that needed special handling or conversion to a true array.
Buy it Now and let your customers get addicted to this amazing book !!!主題書展
更多書展購物須知
外文書商品之書封,為出版社提供之樣本。實際出貨商品,以出版社所提供之現有版本為主。部份書籍,因出版社供應狀況特殊,匯率將依實際狀況做調整。
無庫存之商品,在您完成訂單程序之後,將以空運的方式為你下單調貨。為了縮短等待的時間,建議您將外文書與其他商品分開下單,以獲得最快的取貨速度,平均調貨時間為1~2個月。
為了保護您的權益,「三民網路書店」提供會員七日商品鑑賞期(收到商品為起始日)。
若要辦理退貨,請在商品鑑賞期內寄回,且商品必須是全新狀態與完整包裝(商品、附件、發票、隨貨贈品等)否則恕不接受退貨。

