get methods from object javascript code example Example: javascript check object methods Object.getOwnPropertyNames()