Scaler Topics | JavaScript for Beginners - Getting Started - 1

 Q1 -- What is JavaScript?

 Ans--- JavaScript is a scripting language used to make the website interactive

Q2 -- What is Node.js?

 Ans---   It is a JavaScript runtime and open source , cross-platform environment for server development built on chrome’s V8 Engine

Q3 -- Which HTML tag links a JS file with an HTML file?

Ans---    script

Q4  -- What will be the output of the following code?

let a=3000;
console.log("I love you", a,"!");
Ans---I love you 3000 !
Q5 --  Which of the following scoping type does JavaScript use?
Ans--- Lexical


No comments:

Post a Comment

CPU vs GPU Architecture

  CPU vs GPU Architecture CPU (Central Processing Unit) and GPU (Graphics Processing Unit) have distinct architectural differences, optimize...

Best for you