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
-
@plusgut Damn you were first, although I would suggest to account for array-like objects:
[].join.call(params, '/'); -
plusgut60377y@webketje if it's not an array, I wouldn't create a new array like you did.
But use Array.prototype.join -
@plusgut you right I don't need ramda, but it was already included in the module... Thanks for pointing it out :)
-
heikomat6877yHere is a better framework. It can do the exact same thing, but has a smaller overhead compared to ramda: http://vanilla-js.com
-
heikomat6877y@brod sounds like something you really don't need a framework for. Why does everyone want to use frameworks based on JS, when JS is already capable of all these things?
Does no one learn the basics anymore?
Related Rants
Refactoring old Js code with Ramda.
rant
js
amazing
ramda