How to see the source of Built-in javascript functions? -
e.g. alert(), object(), string(), etc.
how see code behind these functions? need understand language engine such v8 written in , read through that, or there simpler solution.
how see code behind these functions?
you need find source code relevant project (firefox, chromium, v8, spidermonkey, etc.), provided project open-source.
would need understand language engine such v8 written in , read through that, or there simpler solution.
yes, would. note alert
not javascript function, it's function defined web browsers (so you'd need @ firefox or chromium, etc., source). object
, string
both part of javascript, you'd @ javascript engine sources (spidermonkey [or whatevermonkey, prefix seems change lot] , v8, etc.).
Comments
Post a Comment