You could use a recursive function to crawl the object and flatten it for you. var test = { a: 'jack', b: { c: 'sparrow', d: { e: 'hahaha' } ...
確定! 回上一頁