Skip to content

Instantly share code, notes, and snippets.

@Hawksbillcat
Created May 6, 2019 01:09
Show Gist options
  • Save Hawksbillcat/01e287821ccecd888fc804a7828b4c48 to your computer and use it in GitHub Desktop.
Save Hawksbillcat/01e287821ccecd888fc804a7828b4c48 to your computer and use it in GitHub Desktop.
Tosee
let b=
[
[
{"ip":"192.168.0.149","ninth":"37.4.0.122"},
{"ip":"192.168.0.19","ninth":"37.4.0.122"}
],mmmmmm
[{"ip":"192.168.0.16","ninth":"37.4.0.122"}]
]
function a(aa){
let c=[]
for(let aw of aa){
for(let cc of aw){
console.log(cc)
c.push(cc)
}
}
return c
}
let aasd=a(b);
console.log(aasd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment