How can you use the value of a key-value pair as the key in a different key-value pair in javascript?
I\'d like to do the following:
var gizmos = {gizmo1
var gizmos = {gizmo1: "G1"}; var things = {}; things[gizmos.gizmo1]="T1";