Skip to content

Instantly share code, notes, and snippets.

View vedatmahir's full-sized avatar
🎯
Focusing

V. Mahir YILMAZ vedatmahir

🎯
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am vedatmahir on github.
  • I am vedatmahir (https://keybase.io/vedatmahir) on keybase.
  • I have a public key whose fingerprint is 5BED C234 C808 A705 1675 64F8 1079 F372 8CB9 B6DD

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am vedatmahir on github.
  • I am vedatmahir (https://keybase.io/vedatmahir) on keybase.
  • I have a public key whose fingerprint is DD20 4D91 AEEC DF02 79AF 753E 2C45 B1D0 8F68 793A

To claim this, I am signing this object:

const flatten = (array) => {
return array.reduce((last, now) => {
if (now instanceof Array)
return last.concat(flatten(now));
return last.concat(now);
}, [])
}