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!

संबंधित संदर्भ