How do you identify the data structure to find a string within a nested array?

后端 未结 0 1697
我在风中等你
我在风中等你 2020-12-01 10:08

I have written a unit test below:

test(\'getAuthor\', () => {
    actual = getAuthor(\'\', data, siteMetadata)
    expect(actual).toEqual(\'Fake Author\')
         


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