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

properties

Keyword

Properties Declaration

A script may contain a properties declaration to define an initial set of property values for that object.

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