JavaScript source code

As we all know that javascript is an open source language and we use Mozilla FireFox 3, and in this browser the mozilla foundation has released a new version of javascript, but I still can’t understand what the javascript source code is actually located in the FireFox 3 browser and where is the list of implementations of various functions that we use in everyday life when developing using javascript.


Thanks for answers. although I somehow know how to program in javascript, but what I ask is that suppose that if I use the split function to split the line, where can I find the implementation of the split function and the toUpperCase () functions.

Perhaps this will give you an idea of ​​what I'm looking for.

thank you for your responses

+4
source share
8 answers

Source code for V8 (google chrome javascript engine)

It can also work autonomously.

+3
source

I think that you probably want something more from a language specification and then implementation. I highly recommend reading the ECMA-262 specifications. It covers almost all modern javascript implementations, and it helped me quite a bit when I studied javascript.

You can find the specifications on the mozilla website:

https://developer.mozilla.org/en/JavaScript_Language_Resources

If you are looking for how to manipulate objects on web pages, you can look at ECMA Script bindings in the W3C DOM Level 2 HTML specifications. It also helped me a bit.

http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/ecma-script-binding.html

+2
source

You can find what you are looking for here .

+1
source

There are many javascript implementations , including SpiderMonkey , the version used in Gecko browsers such as FireFox

+1
source

Mozilla has a separate distribution of only a Javascript engine called Spidermonkey

Also, if you download a source, say, Firefox, the Javascript engine is there.

If you were referring to the source code of the browser, in Firefox and Mozilla, this is also pretty much written in Javascript, as there.

+1
source

If you are asking about the "code" of the Javascript interpreter

Usually, as you know, Javascript works inside the browser. Each browser has its own Javascript interpreter. If you want to know the implementation of the interpreter, look at Webkit - it is open source and is used by browsers such as Safari

If you are asking about the source code of a Javascript example

I think you can find it in large numbers, just by searching.

These articles may help you.

http://computer.howstuffworks.com/question369.htm

http://www.webdesignfromscratch.com/how-html-css-js-work-together.php

Hope this helps.

+1
source

Mozilla source code is available from developer.mozilla.org

0
source

Here is JavaScript JavaScript - Apple's JavaScript JavaScript engine (like V8 for Chrome): http://trac.webkit.org/wiki/JavaScriptCore

0
source

All Articles