Skip to content

Instantly share code, notes, and snippets.

@sethdavis512
Created January 17, 2019 16:25
Show Gist options
  • Save sethdavis512/d82161a6d3c051c9ae8e888b882277a0 to your computer and use it in GitHub Desktop.
Save sethdavis512/d82161a6d3c051c9ae8e888b882277a0 to your computer and use it in GitHub Desktop.
Fahrenheit to Celsius
const celsius = [-15, -5, 0, 10, 16, 20, 24, 32];
const fahrenheit = celsius.map(t => t * 1.8 + 32);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment