Take this code for example:
title: 'Hello',
The variable is called title and the value is hello. I would be able to call it via
{{ title }}
and get the result.However, recently I needed to create a variable variable. I do not want the name of the variable to be static yet dynamic.
var nameIWant = "blah";
...
nameIWant: 'Dynamics!',
...
If I was to call {{ blah }}
it would not work, however, calling {{ nameIWant }}
does
How do I fix this? Is it possible?