startX
is assigned the value of a.start.x
.
max
of forecast.tomorrow
and assign it to maxOfTomorrow
.
maxOfTomorrow
equals 84.6
testString: assert(getMaxOfTmrw(LOCAL_FORECAST) === 84.6, 'maxOfTomorrow
equals 84.6
');
- text: nested destructuring was used
testString: getUserInput => assert(getUserInput('index').match(/\{\s*tomorrow\s*:\s*\{\s*max\s*:\s*maxOfTomorrow\s*\}\s*\}\s*=\s*forecast/g),'nested destructuring was used');
```