Nodejs Is A Language Not A Runtime. - Programming (2) - Nairaland
Nairaland Forum › Science/Technology › Programming › Nodejs Is A Language Not A Runtime. (1564 Views)
| Re: Nodejs Is A Language Not A Runtime. by kpakodev: 10:48am On Feb 11, 2023 |
chukwuebuka65:Nodejs is a runtime environment for javascript simple. What is a runtime enviroment? a runtime enviroment is a hardware or software that run a program, nodejs can run javascript. |
| Re: Nodejs Is A Language Not A Runtime. by kpakodev: 11:01am On Feb 11, 2023 |
chukwuebuka65:do you know things like: document.getElementById() document.getElementsByClassName() window.alert() window.navigator document.write and so more, are not in javascript? the are been added by the browser buitin runtime enviroment(just like the way some application provide api), the same with nodejs |
| Re: Nodejs Is A Language Not A Runtime. by chukwuebuka65(op): 12:19pm On Feb 11, 2023 |
kpakodev:You guys never told us that. No tutorial or blog or articles I have read has ever made mention of these as browser api’s and not part of javascript itself . If so , which features constitutes of javascript then. Variable? If statements? While loops? Functions? |
| Re: Nodejs Is A Language Not A Runtime. by kpakodev: 1:04pm On Feb 11, 2023 |
chukwuebuka65:https://developer.mozilla.org/en-US/docs/Web/API |
| Re: Nodejs Is A Language Not A Runtime. by kpakodev: 1:15pm On Feb 11, 2023 |
kpakodev:Most of those things are add to js by the web browser built-in runtime environment to make it able to use those api from JavaScript but they aren't in the core language it self.... You won't find any of those in the v8 or spidermokey js engine specification the same you won't find those features nodejs add to js on v8 engine specification |
Behind The Scene Zoom Of DOMS Cross-platform Fullstack Runtime Software By 10AM • Bun: New Javascript Runtime Faster Than Nodejs and Deno • The Program Can’t Start Because Api-ms-win-crt-runtime-l1-1-0.dll Is Missing • 2 • 3 • 4
I Need A Help • Incredible Read!!! Blind Programmers. • I Need Your Help To Evaluate My Apps.