メインコンテンツまでスキップ
バージョン:25.2

properties

  • keyword
  • properties declaration
    • a script may contain a properties declaration to define an initial set of property values for that object
    • syntax:

properties

  propName: propValue,

  propName: propValue

end properties

  • Typically, properties are defined at the beginning of a script, but may also appear at the end, or between handlers. If a properties declaration appears after  some initial statements in a script (an initial handler), the properties declaration will mark the end of the initial handler -- any statements after the properties will not be executed.

  • adding properties

  • removing properties

  • replacing properties

  • retaining properties

  • add properties

  • remove properties

  • replace properties

  • retain properties

  • the number of properties of x