vincentntang / Free-Code-Camp-Projects

🏕️ Freecodecamp Curriculum Work
0 stars 0 forks source link

JS calculator: add support for truncating displayLimits #2

Open vincentntang opened 6 years ago

vincentntang commented 6 years ago

Case 1: If cache entry is over 8 characters (place in view.display) Case 2: If resulting calculation is over 8 characters (place in calculate method) Case 3: If resulting calculation query is over 22 char