whole_func_string: function setLocalStorageItem(key, value) {
    window.localStorage.setItem(key,
      JSON.stringify(value)
    );
  }
func_code_string: function setLocalStorageItem(key, value) {
    window.localStorage.setItem(key,
      JSON.stringify(value)
    );
  }
func_documentation_string: Set a value of any type in localStorage.
  (Serializes in JSON before storing since Storage objects can only hold strings.)
  
  @param {String} key   Key in localStorage
  @param {*}      value The value to set