Open thebnich opened 7 years ago
this[prior(this)] compiles to newData.child(data).val() instead of the expected newData.child(data.val()).val().
this[prior(this)]
newData.child(data).val()
newData.child(data.val()).val()
There is a workaround which @mckoss mentioned in #173:
this[prior(this) + ''] compiles to : newData.child(data.val() + '').val()
this[prior(this) + '']
newData.child(data.val() + '').val()
this[prior(this)]
compiles tonewData.child(data).val()
instead of the expectednewData.child(data.val()).val()
.