I Got The Object.keys()
Kahlil Lechelt

Nice article. You can also take a look at Object.getOwnPropertyNames(), because Object.keys wont return you the property name, if its not enumerable. Object Properties are enumerable by default but you can change it by using Object.defineProperty. Object.getOwnPropertyNames will always return you the property name irrespective of it being enumerable or not.

Like what you read? Give vatsal pande a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.