五、[前端] Javascript
程式的基礎:expression 與 statements
x = y * 2; // 聲明
// 2, 數字的表達
// x, y 變數的表達
// y*2 算術的表達式
// = 是 assign 的表達式
// call expression
alert(x);x = 32;
y = x*2;
console.log(y);
alert('hello')operators 運算元
值與它的型態
block, conditions, loops
functions 請電腦幫你做的待辦清單
object 與 array
Last updated