Skip to content

SanjitSG/100xdevs

Repository files navigation

100xdevs

Foundation - HTML CSS Javascript

  1. Zerodha -

JS - Foundation

  1. Compiled vs Interpreted Language

    • C++ is compiled language.
    • JavaScript is interpreted language.
  2. Strict vs Dynamic Languages

    • type of the variable is strict
    • Javascript is loosely typed language (dynamic nature).
  3. Single Threaded nature of Javascript

    • Executes one command at a time, in-order they are written.
  4. Simple primitives

    • Variables (var/let/const)
    • Data types - Strings, numbers and booleans
    • if/else
    • Loops - For loop
  5. Complex primitives

    • Array
    • Objects
      • complex object
  6. Functions

    • reusable code
    • callback function

Auxillary methods of JavaScript - Level 1

  1. Strings
    • length, indexOf, lastIndexOf, slice(0,5), subStr (deprecated), replace("",""), split(','), trim(), toUpperCase, toLowerCase
  2. Numbers
    • parseInt, parseFloat
  3. Arrays
    • push, pop, unshift, shit, concat, forEach
    • callbacks, map, filter, reduce, find, sort

Level 2

  1. Classes (Structure that is re-usable. A blueprint)
    • attributes, functions
    • static functions (associate with the class it self)
  2. Date
  3. JSON
    • JSON.parse
    • JSON.stringify
  4. Maths
  5. Objects
    • Object.keys() -> Array of keys
    • Object.values()
    • Object.entries(obj)
    • obj.hasOwnProperty('name')
    • object.assign

Loops - Functions - Callbacks

  • anonymous function
  • passing function as argument

Async Functions - Browser Architecture - Promises

  • Async functions
  • web apis - setTimeout
  • js engine architecture
  • promise
  • async/await

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published