how to get the list of methods of an object in javascript code example Example: list methods of object js Object.getOwnPropertyNames(obj)