method ObjectConstructor.keys Private ObjectConstructor.keys(o: object): string[] Returns the names of the enumerable string properties and methods of an object. Parameters o: object Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. Return Type string[]