Skip to main content

Command Palette

Search for a command to run...

Latest articles

  1. Why does typeof null return "object"?

    ๐—ฅ๐—ฒ๐—ฎ๐˜€๐—ผ๐—ป ๐Ÿญ: Because of the table specified in ECMA-262. ๐—ฅ๐—ฒ๐—ฎ๐˜€๐—ผ๐—ป ๐Ÿฎ: It might be a bug Let's understand this: In the ๐—ถ๐—ป๐—ถ๐˜๐—ถ๐—ฎ๐—น ๐—ถ๐—บ๐—ฝ๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ผ๐—ณ ๐—๐—ฎ๐˜ƒ๐—ฎ๐—ฆ๐—ฐ๐—ฟ๐—ถ๐—ฝ๐˜ all values were stored in ๐Ÿฏ๐Ÿฎ ๐—ฏ๐—ถ๐˜๐˜€ ๐˜‚๐—ป๐—ถ๐˜๐˜€, wh...

    Jun 10, 20211 min read
    Why does typeof null return "object"?
  2. Shift and Unshift Method In JavaScript

    ๐—ฆ๐—ต๐—ถ๐—ณ๐˜ ๐— ๐—ฒ๐˜๐—ต๐—ผ๐—ฑ The shift method is like the pop method, but it only works at the beginning of the array. The shift method ๐—ฝ๐˜‚๐—น๐—น๐˜€ ๐˜๐—ต๐—ฒ ๐—ณ๐—ถ๐—ฟ๐˜€๐˜ ๐—ฒ๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ผ๐—ณ๐—ณ of the given array and returns it. This method will ๐—ฐ๐—ต๐—ฎ๐—ป๐—ด๐—ฒ...

    Jun 8, 20211 min read
    Shift and Unshift Method In JavaScript