Skip to content

Instantly share code, notes, and snippets.

@malikkurosaki
Created June 10, 2018 13:17
Show Gist options
  • Save malikkurosaki/0b4f00b2e78c3717036e6010d11d4745 to your computer and use it in GitHub Desktop.
Save malikkurosaki/0b4f00b2e78c3717036e6010d11d4745 to your computer and use it in GitHub Desktop.
remove double or tween value of array
getDb(function(aa){
var bb = JSON.parse(atob(aa));
var cc = [];
for(i in bb.page){
cc.push(bb.page[i].tag);
}
var dd = Array.from(new Set(cc));
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment