Skip to content

Instantly share code, notes, and snippets.

@Jack5079
Created March 30, 2020 01:03
Show Gist options
  • Select an option

  • Save Jack5079/9693cd9e39c6d65179078614acdf0bc5 to your computer and use it in GitHub Desktop.

Select an option

Save Jack5079/9693cd9e39c6d65179078614acdf0bc5 to your computer and use it in GitHub Desktop.
something
[...'A string'].map(str=>str.charCodeAt()).reduce((a, b) => a + b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment