Skip to content

Instantly share code, notes, and snippets.

@paladinescamila
Created December 20, 2021 18:30
Show Gist options
  • Save paladinescamila/be87067d71c00d0ada42fe0bcb85885d to your computer and use it in GitHub Desktop.
Save paladinescamila/be87067d71c00d0ada42fe0bcb85885d to your computer and use it in GitHub Desktop.
let numbers = [17,15,31,5,56];
// over20 = true
let over20 = numbers.some(n => n > 20);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment