[第二週] 變數的型態


可分為

  • Primitive
    • 布林 (boolean): true, false
    • 數字 (number) : 所有數字,包含小數
    • 字串 (string) :用雙引號或單引號包起來
  • 物件 (Objects) : null, array
  • 未定義 (undefined)
  • 函式 (function)

#variable






你可能感興趣的文章

部署 Node.js app 在 Heroku

部署 Node.js app 在 Heroku

OOP - 6 關於抽象

OOP - 6 關於抽象

【單元測試的藝術】Chap 8: 好的單元測試的支柱

【單元測試的藝術】Chap 8: 好的單元測試的支柱






留言討論