Skip to content

Files

Latest commit

Feb 26, 2023
f5bea2d · Feb 26, 2023

History

History
41 lines (23 loc) · 1.44 KB

File metadata and controls

41 lines (23 loc) · 1.44 KB

Javascript

Index

Check 101 of JavaScript here

Invented in 1995, JavaScript is one of the widely used Programming languages especially in building interactive and dynamic web applications.

JS is semi object-oriented, functional, and procedural programming language, and it can be used on both server and client side applications. Any interaction that happens on web page is JavaScript in Action.

JavaScript is an interpreted langauge that means computers and browsers can work with JS on the fly because of the engine that understands JS called Interpreter.

See Developers Tools

JS in Browser/IDE Console

Console is used by devs to log what's going on and do any debugging (is finding the problem when an app isn't displaying the desired behaviour).

Some of the console functions examples:

  • console.log("Hello, World!");
  • console.table();
  • console.error();

JavaScript - Best Practices

Formatting

  • Identations and whitespace
  • Semicolons
  • Code Comments

Quick Facts

  • Browsers can work with JS because they have a special part, called interpreter, that can process JavaScript.

  • The current standard of JavaScript is ECMAScript 6 (ES6)

  • JS is a loosely typed language that means it determines the type based on the value.

Also Check: Terminologies