es6-tutorial
es6-tutorial copied to clipboard
Destructuring: defining mortgage
On Step 2, I don't understand where mortgage gets defined. Following the directions and copy/pasting the code exactly as is produces the following error in console:
Cannot read property 'toFixed' of undefined
It's on line 23 of main.bundle.js, which makes sense because we haven't defined mortgage yet.
What am I missing here?