Different types of Functions in JavaScript
Photo by Markus Spiske on Unsplash
A JavaScript function is a block of code designed to per...
For further actions, you may consider blocking this person and/or reporting abuse
Nice article. Small comment, on the third arrow function example, when you write :
There's an unused parameter named
_
instead of no parameter. Both are valid anyway, just wanted to point out the difference ;)Yeah! It's intentional. Only for showing variation. Thanks so much for your comment.
Very comprehensive!
Couple of typos:
Your default parameters examples has
;
instead of,
between the argumentsYou're missing a
'
on yournew Function
example:(I love that you introduce the Function constructor by the way - hours of fun for everyone there)
Bull's eye man! truly I have read my post more than 10 times :) and two of my friends proofread it but no one figured it out. I will be more prepared next time. thanks.
i am a beginner in coding i am currently finishing frond end courses and for the final test i need an idea to be able to make some program in react. please help or some page on the web where I could find examples and printed codes. thank you very much
Nice article dude. Your English is great too. Keep it up
Thanks
Very helpful article and admirably free of waffle. Nice work :)
Thanks
Very in depth and helpful.
Thanks man!😍
Nice article! You managed to make me understand generators for the first time XD.
By the way, could you please give me a practical use case of the Function consctructor? Thank you
here is an example Function constructor with implementing a
class
and you know JavaScriptclass
is a syntactic sugar over thefunction
structure.wanna know more, please check out this stackoverflow thread
Thanks!
Go forth!
Thanks bro 😍 to see you here.
and whether there is a torrent site for developers or a community.