blockly > 屏蔽 > getDeveloperVariables

Block.getDeveloperVariables 属性

用于声明开发者变量的可选属性。返回供生成器使用的变量名称列表。开发者变量绝不会向用户显示,但会在生成的代码中声明为全局变量。

Signature:

getDeveloperVariables?: () => string[];