set()

Updates the value associated with the given key in case it already exists in the Dictionary. Otherwise a new key-value pair is added.

예제

구문

set(key, value)

매개변수

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

관련 레퍼런스