Skip to content

Instantly share code, notes, and snippets.

@DanShappir
Created November 6, 2019 12:32
Show Gist options
  • Save DanShappir/cdb7d4de66ef3ca2339c0722e92709fe to your computer and use it in GitHub Desktop.
Save DanShappir/cdb7d4de66ef3ca2339c0722e92709fe to your computer and use it in GitHub Desktop.
Simple head function
function head(src) {
for (const value of src) {
return value;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment