This means an empty object. txt declared as a new object in javascript with no properties. If you want to add properties, you can use this:
var txt = { prop1: 'value 1', prop2: 'value 2' };
and then you can get the values โโusing txt.prop1 and txt.prop2 .
source share