Stack Exchange
log in
users (10)
rooms (13)
faq
Sufiyan Ansari
general
recent
conversations
JavaScript
Topic: Anything JavaScript, ECMAScript including Node, React, ...
3
Sufiyan Ansari
Feb 16, 2018 13:03
@KamilSolecki Give me a moment
Sufiyan Ansari
Feb 16, 2018 13:02
@KamilSolecki currently i have just added a if clause, Its working. But i just dont like redundant code.
Sufiyan Ansari
Feb 16, 2018 13:00
@KamilSolecki I dont know how to use goto. That is what i ask for above?
Sufiyan Ansari
Feb 16, 2018 12:54
Calling a function in a synchronous execution is pretty good.But when it comes to asynchronous function. I usually prefer goto
7
Sufiyan Ansari
Feb 16, 2018 12:52
@KamilSolecki Exactly my point
2
Sufiyan Ansari
Feb 16, 2018 12:48
Cuz im on enterprise app i cant just add as many js as i can?
5
Sufiyan Ansari
Feb 16, 2018 12:48
For Goto statement @KendallFrey
Sufiyan Ansari
Feb 16, 2018 12:48
Doesnt javascript support goto statements natively?
Sufiyan Ansari
Feb 16, 2018 12:47
Yeah i think for this ill have to include one extra dependency @KendallFrey
Sufiyan Ansari
Feb 16, 2018 12:46
@KendallFrey Thanks
Sufiyan Ansari
Feb 16, 2018 12:45
Can we use goto statement in javascript. If yes then How?
Sufiyan Ansari
Feb 16, 2018 12:41
@KendallFrey LOL