natac13 662fbfdda7 Fix variable data persist on Functional Challenges.
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
2016-01-02 16:38:56 -05:00
2015-08-27 16:37:01 -07:00
2015-12-14 13:19:30 -08:00
2015-12-14 13:19:30 -08:00
S
Description
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
1.2 GiB
Languages
TypeScript 62.1%
JavaScript 34.4%
CSS 3.3%
Dockerfile 0.1%