Skip to content

Instantly share code, notes, and snippets.

View kirvedx's full-sized avatar

Richard Winters kirvedx

View GitHub Profile
@kirvedx
kirvedx / denest.js
Created August 22, 2016 21:01
denest.js - a method to flatten an array which possibly contains more arrays
/**
* denest
*
* This function will take an array with possible nested arrays
* and flatten it
*
* provided: Array of values, possibly containing more arrays
* result: Array of values, as taken from provided in order to 'flatten' its values. This
* argument is available when this method calls itself.
*
@kirvedx
kirvedx / keybase.md
Last active March 16, 2021 13:41
keybase.md

Keybase proof

I hereby claim:

  • I am kirvedx on github.
  • I am rik (https://keybase.io/rik) on keybase.
  • I have a public key whose fingerprint is 287E C226 52A5 C05D 1729 A205 1686 AE4A 1B84 2CB5

To claim this, I am signing this object: