23-CP-82 JavaScript Report
23-CP-82 JavaScript Report
Engineering
& Technology Taxila
1st Semester
Submitted to:
Sir Shahryar khan
Submitted by:
Abdur Rehman Saeed
Roll Number:
23-CP-82
Section:
Omega
JavaScript Syntax:
Here, you can expect to learn about the basic syntax of JavaScript, including
variables, data types, operators, and statements.
JavaScript Comments:
JavaScript comments can be used to explain JavaScript code, and to make it more
readable.
JavaScript Variables:
This tab covers the concept of variables in JavaScript, how to declare them, and
the different types of data they can hold.
JavaScript Operators:
The Operators section typically explains arithmetic, assignment, comparison,
logical, and other operators used in JavaScript.
JavaScript Functions:
In this tab, you'll learn about functions, how to declare and call them, parameters,
and return values.
JavaScript Objects:
This section introduces JavaScript objects, including object properties, methods,
and how to create and manipulate objects.
JavaScript Events:
Here, you'll learn about handling events in JavaScript, such as click events, mouse
events, and keyboard events.
JavaScript Strings:
The Strings section covers string manipulation, methods, and properties in
JavaScript.
JavaScript Arrays:
This tab provides information on arrays in JavaScript, including array methods
and operations.
JavaScript Dates:
JavaScript Math:
The JavaScript Math object allows you to perform mathematical tasks on numbers.
JavaScript Comparisons:
Comparison and Logical operators are used to test for true or false.
JavaScript Switch:
The switch statement is used to perform different actions based on different
conditions.
JavaScript For Loop:
Loops can execute a block of code a number of times.
JavaScript Break:
The break statement "jumps out" of a loop. The continue statement "jumps over"
one iteration in the loop.
JavaScript Iterables:
Iterables are iterable objects (like Arrays). Iterables can be accessed with simple
and efficient code. Iterables can be iterated over with for..of loops
JavaScript Sets:
A JavaScript Set is a collection of unique values.
JavaScript Maps:
A Map holds key-value pairs where the keys can be any datatype. A Map
remembers the original insertion order of the keys.
JavaScript typeof:
You can use the typeof operator to find the data type of a JavaScript variable.
JavaScript Type Conversion:
JavaScript variables can be converted to a new variable and another data type:
JavaScript Bitwise:
JavaScript stores numbers as 64 bits floating point numbers, but all bitwise
operations are performed on 32 bits binary numbers.
JavaScript Regular Expressions:
A regular expression is a sequence of characters that forms a search pattern.
JavaScript Errors:
When executing JavaScript code, different errors can occur. Errors can be coding
errors made by the programmer, errors due to wrong input, and other
unforeseeable things.
JavaScript Hoisting:
Hoisting is JavaScript's default behavior of moving declarations to the top.
JavaScript Use Strict:
"use strict"; Defines that JavaScript code should be executed in "strict mode".
JavaScript JSON:
JSON is a format for storing and transporting data. JSON is often used when data
is sent from a server to a web page.
JavaScript Debugging:
Errors can (will) happen, every time you write some new computer code.
JavaScript Performance:
How to speed up your JavaScript code.
JavaScript Reserved Words:
In JavaScript you cannot use these reserved words as variables, labels, or function
names: