I hereby claim:
- I am daylennguyen on github.
- I am flanyan (https://keybase.io/flanyan) on keybase.
- I have a public key ASAPjtTBlg55qsqrMTo6EE577-Q3vtt4VR1wLukDrafQ7Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
ls *.{mp3,exe,mp4} |
// Remove Duplicates from an array | |
const removeDuplicates = | |
arr => arr.filter((item, index) => index === arr.indexOf(item)); | |
const removeDuplicates1 = array => [...new Set(array)]; | |
const removeDuplicates2 = array => Array.from(new Set(array)); | |
// Flattens an array(doesn't flatten deeply). |