list functions in object javascript code example Example: javascript check object methods Object.getOwnPropertyNames()