Skip to main content

Command Palette

Search for a command to run...

JavaScript for Beginners: A Simple Guide to Start Learning

Updated
2 min readView as Markdown
JavaScript for Beginners: A Simple Guide to Start Learning

19In this series of article we are going to cover up the entire Javascript in depth and detail, from browser language to the server level which run multi-million business.

Javascript

Javascript is one the pillar in the web page which provide function and interaction on the web page. It was developed in the 1995 for the web browser. Now days javascript is not only is the web based programming language. It is used in developing server side, client side, mobile, desktop, machine learning and so on.

Syllabus of the Javascript

  1. Data Types in Javascript

    • In which these data types is categorized into primitive (basic) and non-primitive (complex) types.

    • Primitive Data Types

      These are immutable values stored directly in memory:

      • String: Textual data, enclosed in quotes ('...', "...", or ...).

      • Number: Represents integers and floating-point numbers (e.g., 42, 3.14).

      • BigInt: Large integers with arbitrary precision (e.g., 9007199254740991n).

      • Boolean: Logical values (true or false).

      • Undefined: A variable declared but not assigned a value.

      • Null: Represents intentional absence of any object value.

      • Symbol: Unique, immutable identifiers (e.g., Symbol('description')).

      . Non-Primitive Data Type

      • Object: A collection of key-value pairs (e.g., { name: "John" }), including arrays, functions, dates, and more.
  2. Control Flow

    • If else

      If else statement is used when we need to check or validate the conditions of the logic.

    • Iterative statement

      When we need to do perform same task again and again like calculating the sum of the amount at a very usage data, take continues input from the user etc.. javascript support loops like for, while, do - while, for each, for - of, for - in etc…

    • Switch Statement

      Javascript support switch case statement which is a very powerful tools. Used in building the logic of the programming language

  3. Scope & Closure

    Javascript has two types of scope like local scope and global scope. If we understand this concept javascript is way more easy and we can build with the help of the javascript

  4. Advance Topic like DOM manupilation, Async-await, Promises etc…

Summary

In early day Javascript is only developed for the browser but now javascript is way more the browser based programming language. With the help of the javascipt we can develop the entire full stack based web, mobile, desktop etc.. based application