Error
https://stackoverflow.com/questions/59568974/uncaught-typeerror-cannot-read-property-tofixed-of-undefined
Uncaught TypeError: Cannot read property 'toFixed' of undefined
I know that others have had this error thrown but I think I have some sort of syntax problem that's causing this to happen for me. If you can find it I would be grateful. I'm new to JavaScript and ...
stackoverflow.com
toFixed 함수를 썼는데, 앞의 값이 숫자가 아니여서 발생한오류
Number()로 숫자변환해주고 toFixed사용