关键字

js/keywords2026-08-24 19:46:25

关键字 (保留字) 在 JavaScript 中具有特殊含义,不能用作标识符(例如变量名、函数名等)。

关键字列表

  • break
  • case
  • catch
  • class
  • const
  • continue
  • debugger
  • default
  • delete
  • do
  • else
  • enum
  • export
  • extends
  • false
  • finally
  • for
  • function
  • if
  • import
  • in
  • instanceof
  • new
  • null
  • return
  • super
  • switch
  • this
  • throw
  • true
  • try
  • typeof
  • var
  • void
  • while
  • with
  • yield

本页目录