How do i get the keys of an objetc in javascript?

前端 未结 0 1996
执笔经年
执笔经年 2020-12-17 23:35

I\'m trying to get the keys of a object to use it in elasticsearch _source, only acept an array of strings.

For exemple:

const exemple = {
  city: \'fo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题