javascript member variable for class without constructor code example Example: variables in js class constructor(){ this.foo = bar }