Home » Learn JavaScript

JavaScript Conditional Operator

If, else and switch are conditional statements or operators in javascript. Conditional statement changes the flow of the program according to test cases. So if the block contains a test expression inside the parenthesis. if the test expression…

Read More »

JavaScript Type Detection

Type detection It is a way by which we can identify the type of data. We know that data type can be three type. So if we are working on data sometime we need to identify datatype of…

Read More »

JavaScript Operators

Operators An Operator is a symbol used for a specific task. That task may be related to math or logical operation. Operators work on operands. var sum = 2 + 3; Here 2, 3 are operands and +…

Read More »

JavaScript Variables and Data Types

Variables are named memory location that can hold a different type of values. Whereas It is a classification of data which tells the compiler or interpreter how the programmer intends to use the data. In javascript, we have…

Read More »