r/ProgrammerAnimemes • u/bucket3432 • Jan 30 '20
OC Dependencies
Enable HLS to view with audio, or disable this notification
1.6k
Upvotes
r/ProgrammerAnimemes • u/bucket3432 • Jan 30 '20
Enable HLS to view with audio, or disable this notification
View all comments
Show parent comment
7
u/bucket3432 Jan 31 '20
Array.prototype.reverseis really old, though: it's old enough to have been in the initial version of the language. I can't say that JavaScript was ever designed to be fully functional, although you can certainly use it like that nowadays as Ramda demonstrates, but the functional paradigm was clearly not a consideration at the timeArray.prototype.reversewas added.