Skip to content

kalidas120799/Javascript

Repository files navigation

Javascript
----------
JavaScript is a synchronous, single threaded programming language
it's run top to bottom

Synchronous
----------
Synchronous is a blocking architecture, so the execution of each operation depends on completing the one before it

Asynchronous
---------
Asynchronous is a non-blocking architecture, so the execution of one task isn't dependent on another. Tasks can run simultaneously.

data types
----------
Primitive Types
----------------
is have is not an object and has no methods or properties
string, number, boolean, null, undefined

The Object Datatype
-----------
array, object, date

Scope
-------
Block Scope
------
Variables declared with the let keyword inside a { } block cannot be accessed from outside the block
Variables declared with the var keyword can NOT have block scope

Function Scope
---------
Each function creates a new scope
var, let and const
same name can be declare inside the different function

Global Scope
---------
A variable declared outside

Built-in objects
----------
number, string, math, date, error

Type Casting
----------
Type conversion means the transfer of data from one data type to another
Explicit Type and Implicit Type Casting

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published