Your favorite JS functions? | Sololearn: Learn to code for FREE!

+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)

3/27/2018 6:49:02 PM

jackisback

10 Answers

New Answer

+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

+28

lately Function.prototype.bind() 😃

+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)

+6

I don't know if this counts but I like that it lets me style and change content.

+6

arc(x, y, r, 0, theta);

+6

Array.forEach(function(){});

+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 :;

+4

alert xD

+4

Date()