How to quickly get inside the key target

The easiest fastest

let obj = {
	name: 'hwl',
	hello: 'world
}
Object.keys(obj)
 console.log(Object.keys(obj)); =>  (2) ["name", "hello"]

Guess you like

Origin blog.csdn.net/weixin_43565820/article/details/90754790