can we create class inside simple function code example Example: variables in js class constructor(){ this.foo = bar }