I am not to up on JavaScript lambda but is this valid, as in no brackets around the param. I know C# only requires the brackets when more than one argument into the lambda.
var duplicateNotes = notes.filter(note => note.title === title)
As you can see, I am a clean code junkie lol The less characters while remaining readable is always better :)
I am not to up on JavaScript lambda but is this valid, as in no brackets around the param. I know C# only requires the brackets when more than one argument into the lambda.
var duplicateNotes = notes.filter(note => note.title === title)
As you can see, I am a clean code junkie lol The less characters while remaining readable is always better :)