var el = { first : { earth : '100', fire : '200', water : '300' }, second : { earth : '400', fire : '500', water : '600' } } console.log(el.first.fire); //200 How to implement the following code correctly?
var meow = 'water'; console.log(el.first(meow)); //как вставить переменную meow, чтобы получилось 300?