mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-02 15:04:31 -05: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