|
|
|
|
|
by ovis
2102 days ago
|
|
> In the functional example, where does Person store the fName and lName variables? With a closure? And you get state hiding too. > If functions persist data, are they really classified as functions anymore? Sure, since otherwise returning a function from a function wouldn't be very interesting. |
|