Click here to Skip to main content
15,898,035 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionHow browser javascript engine parse and execute javascript Pin
Mou_kol26-Jul-17 1:36
Mou_kol26-Jul-17 1:36 
AnswerRe: How browser javascript engine parse and execute javascript Pin
Afzaal Ahmad Zeeshan26-Jul-17 1:47
professionalAfzaal Ahmad Zeeshan26-Jul-17 1:47 
Mou_kol wrote:
please discuss how browser javascript engine parse and execute javascript.
It is interpreted by the JavaScript engine, how it is done depends on the how the JavaScript engine was written. Different engines have their own different implementation of everything here. Edge came out with a different engine that Internet Explorer (which I doubt, actually), called Chakra. You can read the code of Chakra here on GitHub to learn more on how does that engine work, GitHub - Microsoft/ChakraCore: ChakraCore is the core part of the Chakra Javascript engine that powers Microsoft Edge
Mou_kol wrote:
i heard modern browser use compiler too to execute js....is it true?
please tell me how javascript v8 engine works.
You might have heard about the way Google translates JavaScript to C++ and then compiles it down to run it natively. I am unsure of what that post actually meant, but it had something to do with the performance of the JavaScript, by converting the "interpreted" language to "compiled" language. Maybe, that doesn't work in a web application, or is only for Chromium platforms or Android stuff. Totally unsure of this case.

Chrome V8  |  Google Developers
c++ - Which Javascript engine would you embed in your application? - Stack Overflow (Read this thread for some more insights as to how Mozilla and Google's JavaScript work, for compiling the JavaScript.
Mou_kol wrote:
if i am asking broad question which can not be discuss here then redirect me to few good article from where i will get answer for my questions like above. thanks
The top right corner has a search, it will answer all the questions easily. Otherwise, Google would suffice.

Typically saying, an article which I am going to suggest may or may not help you, thus asking you to help yourself. Smile | :)
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

GeneralRe: How browser javascript engine parse and execute javascript Pin
Mou_kol3-Aug-17 4:22
Mou_kol3-Aug-17 4:22 
Questionjavascript Pin
arnoldceaser24-Jul-17 1:06
arnoldceaser24-Jul-17 1:06 
AnswerRe: javascript Pin
Richard MacCutchan24-Jul-17 1:52
mveRichard MacCutchan24-Jul-17 1:52 
AnswerRe: javascript Pin
ZurdoDev24-Jul-17 7:07
professionalZurdoDev24-Jul-17 7:07 
AnswerRe: javascript Pin
W Balboos, GHB20-Sep-17 2:06
W Balboos, GHB20-Sep-17 2:06 
Questionhow to go to same page again? Pin
Member 1103130423-Jul-17 22:07
Member 1103130423-Jul-17 22:07 
AnswerRe: how to go to same page again? Pin
Afzaal Ahmad Zeeshan23-Jul-17 23:40
professionalAfzaal Ahmad Zeeshan23-Jul-17 23:40 
GeneralRe: how to go to same page again? Pin
Member 1103130424-Jul-17 0:27
Member 1103130424-Jul-17 0:27 
QuestionJavaScript or TypeScript: which one to really dig into? Pin
Foothill22-Jun-17 10:26
professionalFoothill22-Jun-17 10:26 
AnswerRe: JavaScript or TypeScript: which one to really dig into? Pin
gurdevs8013-Jul-17 20:26
gurdevs8013-Jul-17 20:26 
GeneralRe: JavaScript or TypeScript: which one to really dig into? Pin
Foothill14-Jul-17 4:17
professionalFoothill14-Jul-17 4:17 
AnswerRe: JavaScript or TypeScript: which one to really dig into? Pin
ZurdoDev14-Jul-17 4:50
professionalZurdoDev14-Jul-17 4:50 
AnswerRe: JavaScript or TypeScript: which one to really dig into? Pin
Nathan Minier17-Jul-17 1:41
professionalNathan Minier17-Jul-17 1:41 
GeneralRe: JavaScript or TypeScript: which one to really dig into? Pin
Foothill17-Jul-17 4:13
professionalFoothill17-Jul-17 4:13 
AnswerRe: JavaScript or TypeScript: which one to really dig into? Pin
Kornfeld Eliyahu Peter17-Jul-17 7:58
professionalKornfeld Eliyahu Peter17-Jul-17 7:58 
GeneralRe: JavaScript or TypeScript: which one to really dig into? Pin
Foothill17-Jul-17 8:31
professionalFoothill17-Jul-17 8:31 
GeneralRe: JavaScript or TypeScript: which one to really dig into? Pin
Kornfeld Eliyahu Peter17-Jul-17 8:41
professionalKornfeld Eliyahu Peter17-Jul-17 8:41 
GeneralRe: JavaScript or TypeScript: which one to really dig into? Pin
Foothill17-Jul-17 8:51
professionalFoothill17-Jul-17 8:51 
AnswerRe: JavaScript or TypeScript: which one to really dig into? Pin
Leng Vang24-Jul-17 6:44
Leng Vang24-Jul-17 6:44 
AnswerRe: JavaScript or TypeScript: which one to really dig into? Pin
Anjali Kapoor1-Aug-17 1:50
Anjali Kapoor1-Aug-17 1:50 
QuestionAngularJS: How to prove that service and factory is singleton Pin
Mou_kol12-Jun-17 22:29
Mou_kol12-Jun-17 22:29 
AnswerRe: AngularJS: How to prove that service and factory is singleton Pin
Afzaal Ahmad Zeeshan12-Jun-17 22:55
professionalAfzaal Ahmad Zeeshan12-Jun-17 22:55 
GeneralRe: AngularJS: How to prove that service and factory is singleton Pin
Mou_kol15-Jun-17 2:53
Mou_kol15-Jun-17 2:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.