How to use recursion to turn object into string?

后端 未结 0 845
再見小時候
再見小時候 2021-01-13 10:51

I am making a css-in-js library, and I need to use recursion to turn object into string like this:

Input:

const fakeData = {
  a: {
    b: \'c\',
    d         


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