用於遍歷物件的全部資料,由其實當不確定物件層數時。
$ git clone https://github.com/c0w0c/object_check_recursive.git
$ cd object_check_recursive
$ npm run start
a.b.c.d.e.f.g = 111 , type: number
a.b.c.d1 = true , type: boolean
a.b1 = [ 1, 2, 3, 4, 5 ] , type: array
a1 = 12345 , type: string