Given: var thing = new Thing(); How would you implement the following functionality: thing.set('x', val); thing.set('y', val2); console.log(thing.get('x')); // val console.log(thing.get('y')); // val2
Anonymous
Poorly.
Check out your Company Bowl for anonymous work chats.