Skip to content

Instantly share code, notes, and snippets.

@StevenMDixon
Created April 16, 2019 19:02
Show Gist options
  • Save StevenMDixon/9a8fbce5be128cc5bf15c6dd4d8cabce to your computer and use it in GitHub Desktop.
Save StevenMDixon/9a8fbce5be128cc5bf15c6dd4d8cabce to your computer and use it in GitHub Desktop.
const s = (a, c={}, d=e=>e)=>(({...c}[a] || d(a)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment