es6-tutorial icon indicating copy to clipboard operation
es6-tutorial copied to clipboard

Destructuring: defining mortgage

Open tadwhitaker opened this issue 8 years ago • 0 comments

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?

tadwhitaker avatar Mar 15 '16 22:03 tadwhitaker