Blog

  • JavaScript Bitwise AND Assignment Operators

    Perform Bitwise AND Assignment Operations In JavaScript

    A bitwise operation takes values and operates at the most basic unit of information whose logical state is represented by 1 or 0.

    JavaScript bitwise operators convert numbers to 32-bit integers otherwise it will use BigInt if applicable. Therefore bitwise AND (&) binary operation compares each bit of 2 operands and if both bits are 1 will return 1, otherwise will return 0.

    (more…)

  • JavaScript Strict Comparison Operators

    Perform Strict Comparison Operations In JavaScript

    Strict comparison operators compare two values which can be numbers or strings of the same type only.

    JavaScript comparison operators are used to to determine whether values are equal, not equal, greater than, less than or within a specific range.

    (more…)

  • JavaScript Const Variable Declaration

    Declare Variables Using Const In JavaScript

    The const keyword has been to declare variables since ECMAScript 2015 (ES6).

    JavaScript variables can be declared in 4 ways. Automatically, using var, let or const.

    (more…)

  • JavaScript Let Variable Declaration

    Declare Variables Using Let In JavaScript

    The let keyword has been to declare variables since ECMAScript 2015 (ES6).

    JavaScript variables can be declared in 4 ways. Automatically, using var, let or const.

    (more…)

  • JavaScript Var Variable Declaration

    Declare Variables Using Var In JavaScript

    The var keyword has been to declare variables since 1995.

    JavaScript variables can be declared in 4 ways. Automatically, using var, let or const.

    (more…)

  • JavaScript Screen Capture API Download

    Screen Capture API Download In JavaScript

    Screen Capture API can be used to capture part or all of a screen for streaming, recording or sharing.

    The getDisplayMedia method is used to capture screen contents as a live MediaStream. The stream can be recorded via MediaDownloader as a blob in chunks. The recorded stream can be downloaded using an anchor tag.

    (more…)

  • JavaScript Screen Capture API Record

    Screen Capture API Record In JavaScript

    Screen Capture API can be used to capture part or all of a screen for streaming, recording or sharing.

    The getDisplayMedia method is used to capture screen contents as a live MediaStream. The stream can be recorded via MediaRecorder as a blob in chunks.

    (more…)