0% found this document useful (0 votes)
5 views2 pages

JavaScript Notes

The document contains a series of questions and topics related to JavaScript, including its definition, characteristics as a scripting language, and its advantages in development. It also covers various programming concepts such as functions, scope, keywords, ES6, and methods for output. Additionally, it lists questions for further exploration in the next class, focusing on manipulating values and references.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

JavaScript Notes

The document contains a series of questions and topics related to JavaScript, including its definition, characteristics as a scripting language, and its advantages in development. It also covers various programming concepts such as functions, scope, keywords, ES6, and methods for output. Additionally, it lists questions for further exploration in the next class, focusing on manipulating values and references.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

What is javaScript

What is scripting language


Javascrpt is client side or server side why not both side
Advantage of writing js in external file
Advantage of scripting language
Why do we use javascript in development- javascript is interpreted language hence it is fast.
What is scope
What is debugger keyword
What is reserved keyword
What is es6
different ways of printing output without using console.log
What is inner html statement
Difference between argument and parameters

Tips
Function advantages - easy to debug and reusability, abstraction

Types of function:
●​ Regular
●​ Parametrised
●​ Return type function

Callback
-​ Function ke andar function call ho rha hai

What is IIFE

String Method
\n - for new line

Here are all the questions you have asked so far:

1.​ What is a keyword?


2.​ What are reserved keywords?
3.​ What is ES6?
4.​ What is a literal?
5.​ Different ways of printing output without using console.log
6.​ What are variables?
7.​ Difference between undefined and null
8.​ Difference between let and const
9.​ Why do we not use var instead of const and let?
10.​What are data types?
11.​Apart from string, number, and boolean, what other data types exist?
12.​Is JavaScript dynamic or static?
13.​What does "dynamic" mean in JavaScript?
14.​What is typeof?
15.​What happens if we run console.log(typeof $13)?
16.​What is the percent (%) operator in JavaScript?
17.​What is Math.floor()?
18.​What happens when we run let num = String([1,2,3,4])?
19.​Is let a = (100)toString() valid?
20.​How to build key-value pairs?
21.​What are operators?
22.​What is the ternary operator?
23.​What do you mean by a single-threaded language?
24.​What is a function?
25.​What are the different types of functions?
26.​When and how to use an IIFE?
27.​When to use this in JavaScript?

Next class

Manipulating by value and reference

You might also like