I’m attempting to use the Firebase API and I’m required to construct a table from key and path variables: function _device_status_update( key, value ) { _firebase.update( _devicePath, { key : value } ); }
However, I can’t find syntax that lets me create a table key from a variable (key:value is an error), any suggestions?