Skip to content

Instantly share code, notes, and snippets.

@miquelbeltran
Created November 14, 2019 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save miquelbeltran/ba4352e121b19ecb1b171cce553de72f to your computer and use it in GitHub Desktop.
Save miquelbeltran/ba4352e121b19ecb1b171cce553de72f to your computer and use it in GitHub Desktop.
main() {
var numbersByTwo = [1, -2, 3, 42].map((number) => number * 2);
print('Numbers: $numbersByTwo.');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment