MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/loljs/comments/eoaxb9/does_this_nightmare_of_a_language_always_execute/
r/loljs • u/phoborsh • Jan 13 '20
4 comments sorted by
11
Does the function have async calls? 'cause that's just a language feature, not just js being dumb
Maybe the problem is you just don't know how to program in the language
→ More replies (2)
9
First, console.out is not a function, console.log is. If you're this new to the language then you have some reading up to do on the Event Loop.
https://stackoverflow.com/q/49563818/6567214
Secondly, the behavior of console.log is dependant on the runtime, it's not a standardized part of the language.
https://stackoverflow.com/q/23392111/6567214
11
u/ipe369 Jan 13 '20
Does the function have async calls? 'cause that's just a language feature, not just js being dumb
Maybe the problem is you just don't know how to program in the language
9
u/drumskirun Jan 14 '20
First, console.out is not a function, console.log is. If you're this new to the language then you have some reading up to do on the Event Loop.
https://stackoverflow.com/q/49563818/6567214
Secondly, the behavior of console.log is dependant on the runtime, it's not a standardized part of the language.
https://stackoverflow.com/q/23392111/6567214