How’s it going, I'm a Adam, a Full-Stack Engineer, actively searching for work. I'm all about JavaScript. And Frontend but don't let that fool you - I've also got some serious Backend skills.
Location
City of Bath, UK 🇬🇧
Education
10 plus years* active enterprise development experience and a Fine art degree 🎨
Lastly .find is just like filter but returns one value rather than an array.
Ps.
I think all the functors are based on reduce.
PSS.
This is functional programming where this expression is preferred over statements like if and for. You will be surprised how much you can get away with.
How’s it going, I'm a Adam, a Full-Stack Engineer, actively searching for work. I'm all about JavaScript. And Frontend but don't let that fool you - I've also got some serious Backend skills.
Location
City of Bath, UK 🇬🇧
Education
10 plus years* active enterprise development experience and a Fine art degree 🎨
.some
and.every
are amazing too, also.reduce
. All the functors rock. AlsoArray.from
This is a nifty trick too, pass a
Boolean
construtor to clean an array of all falsely or holes, return only truthy values.Lastly
.find
is just like filter but returns one value rather than an array.Ps.
I think all the functors are based on
reduce
.PSS.
This is functional programming where this expression is preferred over statements like
if
andfor
. You will be surprised how much you can get away with.Incredible how there's still things to learn. I will definitely start looking at ways to through in this nifty trick, and that
.find
too! Thanks!Looks like I should do a post on JavaScript arrays
Ooh! New toys! I'll have to check them and see what they do.