objectarray-pullmap
Pull part of an Object Array to a Map.
var pullmap = ;// pullmap(<object array>, <keys>, <values>) var a = 'n': 'Notable' 'p': 'Psuedocode' 'm': 'Mashups' 'n': 'Noiseless' 'p': 'Peaceful' 'm': 'Morning' 'n': 'Norwegian' 'p': 'Peat' 'm': 'Moss' 'n': 'Noiseless' 'p': 'Party' 'm': 'Machine'; ;// Map(4) {// {"n": "Notable"} => {"p": "Psuedocode", "m": "Mashups"},// {"n": "Noiseless"} => {"p": "Peaceful", "m": "Morning"},// {"n": "Norwegian"} => {"p": "Peat", "m": "Moss"},// {"n": "Noiseless"} => {"p": "Party", "m": "Machine"}// } ;// Map(4) {// "Notable" => {"p": "Psuedocode"},// "Noiseless" => {"p": "Peaceful"},// "Norwegian" => {"p": "Peat"},// "Noiseless" => {"p": "Party"}// } ;// Map(4) {// "Notable" => "Psuedocode",// "Noiseless" => "Peaceful",// "Norwegian" => "Peat",// "Noiseless" => "Party"// } ;// Map(4) {// {"n": "Notable", "p": "Psuedocode", "m": "Mashups"} => {"n": "Notable", "p": "Psuedocode", "m": "Mashups"},// {"n": "Noiseless", "p": "Peaceful", "m": "Morning"} => {"n": "Noiseless", "p": "Peaceful", "m": "Morning"},// {"n": "Norwegian", "p": "Peat", "m": "Moss"} => {"n": "Norwegian", "p": "Peat", "m": "Moss"},// {"n": "Noiseless", "p": "Party", "m": "Machine"} => {"n": "Noiseless", "p": "Party", "m": "Machine"}// }