src/util/multiMap.js
/**
	 * Remove all values associated with a key.
	 * 
	 * @param {string} key the key of the values to remove
	 * @returns {object[]} the removed values, or <code>undefined</code> if no values were present for the given key
	 */
Remove all values associated with a key.

@param {string} key the key of the values to remove
@returns {object[]} the removed values, or undefined if no values were present for the given key
Remove all values associated with a key . @param { string } key the key of the values to remove @returns { object [] } the removed values or undefined if no values were present for the given key
remove(key) {
		const keyLc = key.toLowerCase();
		const index = this.mappingNames.indexOf(keyLc);
		const result = this.mappings[keyLc];
		if ( result ) {
			delete this.mappings[keyLc];
			this.mappingNames.splice(index, 1);
		}
		return (result ? result.val : undefined);
	}
remove ( key ) { const keyLc = key . toLowerCase ( ) ; const index = this . mappingNames . indexOf ( keyLc ) ; const result = this . mappings [ keyLc ] ; if ( result ) { delete this . mappings [ keyLc ] ; this . mappingNames . splice ( index , 1 ) ; } return ( result ? result . val : undefined ) ; }
Remove all values associated with a key.
Remove all values associated with a key .