Code Monkey home page Code Monkey logo

partice_javascpript's Introduction

JavaScript :

  • It is developed by Brendeu Each in the year of 1994.
  • It is used to create Dynamic web pages.
  • It is a dynamically typed language. e.g console.log("Hello World");

Js Engine :

V8, SpiderMonkey, Chakra

Diff. Between Statically typed and Dynamically typed

Statically typed Dynamically typed
  • The language which is |- The language which not forces the user to define|forces the user to define the datatype before |the datatype is called initialization of a |and not compulsory The variable is called |called as dynamically statically typed. | typed language.
  • ex. c, c++, Java |- ex. Python, JavaScript Varibale And DataType:

Variable :

  • It is a container that is used to store a single value.

  • It is a temporary memory location.

  • var

  • let Keywords ; (Creation of variable)

  • const = 10; (Initialization)

  • let and const are introduced in ES6 (2015).

  • When creating a variable without initialization then Js engine assigns a default value i.e. undefined

DataTypes:

-Two types of Data Types.

  1. Primitive
  2. Non-Primitive

Primitive:

  1. Number : let a = 10; let b; console.log(a+b); // NAN (Not A Number) b = 20; console.log(a+b); // 30
  2. String: let str = 'hii '; let str1 = "hii"; let str2 = hii; (Templete Leteral String)

console.log("hii ${1+3}"); // hii ${1+3} console.log(hii ${1+3}); // hii 4 console.log(str + ${1+3}); // hii 4

partice_javascpript's People

Contributors

hellojeeban avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.