Please explain how do i get total value If i have not Assigned it?


#1

Please look at the Picture for The Problem

1.Execute Once
2.remove 'Total' variable
3.Execute Once Again

Try The Above Steps


#2

Even though you might remove the variable from your code, it is not removed from memory. Refresh the page and run it again. total will be undefined.