Comment on Show HN: The Choice – An online programming puzzle RPGComments−nixpulvis13yIf you are wondering what the methods on an object are, use this.keys = (k for k, v of obj when typeof v is 'function')alert(keys)
Comments
If you are wondering what the methods on an object are, use this.
keys = (k for k, v of obj when typeof v is 'function')
alert(keys)