look up available methods javascript code example Example: javascript check object methods Object.getOwnPropertyNames()