参考 create()

create()

Creates a new key-value pair in the Dictionary.

示例

语法

create(key, value)
create(obj)

参数

key
Number|String:
value
Number|String:
obj
Object:

key/value pair

Notice any errors or typos? Please let us know. Please feel free to edit src/data/p5.TypedDict.js and open a pull request!

相关参考