nodejs get onject functions code example Example: javascript check object methods Object.getOwnPropertyNames()