Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
JavaScript, the language that was never even meant to be used for more than updating some parts of a webpage.
-
compSci9585yI’m curious as to what use-case you have in which omitting the initial value would be a good idea
-
compSci9585y@Sauruz This feels like one of those scenarios where the language gets blamed for a miss understanding of core functionality.
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
johnny301when your code is a mess but everything work out in the end
-
tahnik63So I need to create a nice new web app. Let's look at some cool JS frameworks that I can work with. *5 mins l...
My fucking god!! I swear if i meet the guy who implemented Array.reduce in javascript!! I'll tear his god damn head clean off and stuff it down his throat!!
From the spec: "if the initial value is omitted, the first value of the array is used instead and skipped"
WHO TF THOUGHT THIS WOULD BE A GOOD IDEA!?!!?!
One freaking hour that stuff cost me today RRREEEEEEEEEE
# rm -rf $JAVASCRIPT
Please and thank you!
rant
fuck this shit
fml
javascript
array
array methods
reduce
js