Skip to content

Instantly share code, notes, and snippets.

@vlzhr
Created May 20, 2020 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vlzhr/ec1b1bb5135a052ebc94a9a100f30edd to your computer and use it in GitHub Desktop.
Save vlzhr/ec1b1bb5135a052ebc94a9a100f30edd to your computer and use it in GitHub Desktop.
["a","b","c","d"].indexOf("a")
# >> 0
["a","b","c","d"].contains("a")
# >> true
[1, 2, 3, 4].min()
# >> 1
[1, 2, 3, 4].max()
# >> 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment