₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,327,004 members, 8,428,988 topics. Date: Thursday, 18 June 2026 at 10:18 AM

Toggle theme

Nodejs Is A Language Not A Runtime. - Programming (2) - Nairaland

Nairaland ForumScience/TechnologyProgrammingNodejs Is A Language Not A Runtime. (1564 Views)

1 2 Reply (Go Down)

Re: Nodejs Is A Language Not A Runtime. by kpakodev: 10:48am On Feb 11, 2023
chukwuebuka65:
If that is the case, it will make sense to have a name that describes the combination of nodejs and javascript as one language just like other scripting languages. But until that happens , nodejs for me is language .
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:
Before nodejs there was nothing like javascript on the frontend. Javascript was javascript the one we all know, that is the javascript on the frontend as you call it. Those features added by nodejs is why I said it should be a language on its own.
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:
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
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:
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?
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:
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
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
1 2 Reply

Behind The Scene Zoom Of DOMS Cross-platform Fullstack Runtime Software By 10AMBun: New Javascript Runtime Faster Than Nodejs and DenoThe Program Can’t Start Because Api-ms-win-crt-runtime-l1-1-0.dll Is Missing234

I Need A HelpIncredible Read!!! Blind Programmers.I Need Your Help To Evaluate My Apps.