12 063
правки
(Новая страница: «'''WARNING:''' method is considered "dirty" because all variables and functions published in this way, become available to all scenarios in the system. Try to avo…») |
(Новая страница: «Global objects of all scenarios have a common object-"prototype", in which standard functions are defined wb-rules (such as defineRule, setTimeout, etc.). It can…») |
||
Строка 111: | Строка 111: | ||
become available to all scenarios in the system. Try to avoid this method. The programmer is solely responsible for the undefined behavior of the device when using this method | become available to all scenarios in the system. Try to avoid this method. The programmer is solely responsible for the undefined behavior of the device when using this method | ||
Global objects of all scenarios have a common object-"prototype", in which standard functions are defined | |||
wb-rules ( | wb-rules (such as defineRule, setTimeout, etc.). It can be used to pass variables or functions | ||
General field of view. | |||
<syntaxhighlight lang="js"> | <syntaxhighlight lang="js"> |
правки