Basic JS rule: left-hand sides (keys) in object literals will not be parsed as 
variables, but as constants.

Use object[ff] syntax to use the value stored in variable `ff` as the object 
key.

Reply via email to