JavaScript Fundamentals Explained

𝐉𝐚𝐯𝐚𝐒𝐜𝐫𝐢𝐩𝐭 𝐏𝐚𝐫𝐭 𝟏 Sharing my JavaScript notes where I’ve organized and explained some core fundamentals in a simple way. 𝗧𝗵𝗶𝘀 𝗽𝗮𝗿𝘁 𝗰𝗼𝘃𝗲𝗿𝘀: Basics of variables Difference between let and var Overview of JavaScript data types JavaScript Number JavaScript String JavaScript BigInt JavaScript Boolean JavaScript Symbol JavaScript Object 𝙒𝙝𝙮 𝙩𝙮𝙥𝙚𝙤𝙛 𝙣𝙪𝙡𝙡 𝙧𝙚𝙩𝙪𝙧𝙣𝙨 "𝙤𝙗𝙟𝙚𝙘𝙩"? In the early days of JavaScript, values were stored internally using type tags. For null, the type tag was incorrectly set in a way that made JavaScript treat it like an object. Even though null is not an object, this behavior was kept for 𝗯𝗮𝗰𝗸𝘄𝗮𝗿𝗱 𝗰𝗼𝗺𝗽𝗮𝘁𝗶𝗯𝗶𝗹𝗶𝘁𝘆, so old code wouldn’t break. Putting these notes out there to help anyone revising or strengthening their JS fundamentals. Hope this helps Feel free to share with your friends, and please comment your suggestions or doubts. #javascript #webdevelopment #programming #developers #learningbysharing #tech #learninpublic #cse

To view or add a comment, sign in

Explore content categories