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

check UserExistsParallel Parallel Checks (Faster)

 async function checkUserExistsParallel(email, phone) {   try {     const checks = [];          if (email) {       checks.push(         getD...

Best for you