HashList.set(key, value)

This sets a key - value pair. If a key is already existing, the value will be updated. Please note that Functions are currently not supported as values.

Type: function

Parameter(s):

  • key {String}:

    The key to use.

  • value {Object | String | Number | Boolean}:

    The value to set.

Returns:

  • {Object}:

    The value after setting.