Skip to content

Instantly share code, notes, and snippets.

@meherhowji
Created March 30, 2019 04:04
Show Gist options
  • Save meherhowji/c292aadf38b929c22b0b7fbc5f5ac35c to your computer and use it in GitHub Desktop.
Save meherhowji/c292aadf38b929c22b0b7fbc5f5ac35c to your computer and use it in GitHub Desktop.
const getInput = (data, index) => data[index];
const getTarget = input => [...input].pop();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment