javascript show all methods in object code example Example: javascript check object methods Object.getOwnPropertyNames()