Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Language Reference

tkirby
November 03, 2015
100

Language Reference

tkirby

November 03, 2015
Tweet

Transcript

  1. a = (1 + 2 - 3) / 4 %

    5; if(a==1) {
 } for(i=0;i<5;i++) {
 break; } a = [1,2,3]; b = {c: 1}; function d(e,f) { return e + f;
 } a = true || false && (b == 2) var a = 1;
 function b() { var a = 2;
 } 四則運算 邏輯運算 條件執⾏行 資料型態 函式 重覆執⾏行 變數宣告與有效範圍