javscript view methods on object code example Example: javascript check object methods Object.getOwnPropertyNames()