Your favorite JS functions? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 20

Your favorite JS functions?

What are your favorite js functions of all js frameworks and libs you might using...? Maybe some useful hints on AI functions are welcome at all too (Y)

27th Mar 2018, 6:49 PM
jackisback
jackisback - avatar
9 Answers
+ 8
toString() , - every object has this function - and in JS almost everything is an object (functions too) - so it comes handy, coz nothing escapes it's clutch
30th Mar 2018, 9:41 AM
Morpheus
Morpheus - avatar
+ 28
lately Function.prototype.bind() 😃
30th Mar 2018, 4:09 PM
Nikolay Nachev
Nikolay Nachev - avatar
+ 10
Thank you very much for all your interesting and different answers so far... please feel free for sharing all kind of methods, statements at all and also hints, tips or trix that could be useful for others too... (Y)
14th Apr 2018, 4:33 AM
jackisback
jackisback - avatar
+ 6
I don't know if this counts but I like that it lets me style and change content.
28th Mar 2018, 2:11 AM
Babydoll Scripts
Babydoll Scripts - avatar
+ 6
arc(x, y, r, 0, theta);
30th Mar 2018, 7:05 AM
Haris
Haris - avatar
+ 6
Array.forEach(function(){});
30th Mar 2018, 8:49 AM
Michael Simnitt
Michael Simnitt - avatar
+ 5
•User defined. •Function parameters. •Applying Multi-functions with parameters. •Return statement. •#1.Alert. #2.Prompt. #3.Confirm. *.1.Function Definition. *.2.Function Parameters. . *.3.Functions Invocations. *4.Functions Closures. I LIKE THE ABOVE MENTIONED FUNCTIONS THE MOST. THANK YOU :;
1st Apr 2018, 8:20 PM
ASIM FARHEEN
ASIM FARHEEN - avatar
+ 4
alert xD
27th Mar 2018, 11:08 PM
Review Bueno
Review Bueno - avatar
+ 4
Date()
29th Mar 2018, 1:39 PM
Julian
Julian - avatar