uwdata / vsup

Code for generating Value-Suppressing Uncertainty Palettes for use in D3 charts.
https://uwdata.github.io/vsup/
MIT License
77 stars 6 forks source link

Use Template Literals #11

Closed p42-ai[bot] closed 3 years ago

p42-ai[bot] commented 3 years ago

Template literals are string templates that can include variables and expressions. They can replace string concatenation and are often easier to read. Example: `Hello, ${name}!`

This refactoring supports converting the first line of concatenated strings into template literals or shortened strings: