mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
Move all display functions to the tail property for all challenges object oriented and functional programming I believe the reason for the 'answer' variable data persisting was due to the display function having closure over that variable (ie. `newArray`). By moving the 'answer' variable declaration to the boilerplate this will fix this issue. closes #5428 2