Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,158,135 members, 7,835,806 topics. Date: Tuesday, 21 May 2024 at 03:15 PM |
Nairaland Forum / Science/Technology / Programming / Nodejs Is A Language Not A Runtime. (822 Views)
Bun: New Javascript Runtime Faster Than Nodejs and Deno / Facing Problem Integrating Paystack With Nodejs / How To Pick A Language For That Next Project (2) (3) (4)
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(m): 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 1 Like |
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 |
Its Wonderful How Php Keeps Evolving / Web Tv Help / How Do I Reach Interswitch?
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 15 |