javascript list of methods on an object code example Example: javascript check object methods Object.getOwnPropertyNames()