Default Parameters
We'll cover the following...
Default Parameters are a great addition to the language. They allow you to, well, add default parameters. And this solves a very simple problem.
Press + to interact
function getData(url) {url = url || 'http://api.data.com';return fetch(url).then(res => res.json);}
...