What is the Javascript Package keyword used for?

后端 未结 2 1885
[愿得一人]
[愿得一人] 2021-02-12 17:29

I was reading some online material on reserved JavaScript keywords and I came across the word package.

I couldn\'t find any clear online material that could

2条回答
  •  半阙折子戏
    2021-02-12 18:24

    The following are reserved as future keywords by the ECMAScript specification when they are found in strict mode code, except that let and yield have their traditional Mozilla-specific functionality in code compiled as JavaScript 1.7 or greater:

    • implements
    • interface
    • let
    • package
    • private
    • protected
    • public
    • static
    • yield

    More information from MDC: https://developer.mozilla.org/en/JavaScript/Reference/Reserved_Words

提交回复
热议问题