HTML <! DOCTYPE html > < html lang = "en" > < head > < meta charset = "UTF-8" > < meta name = "viewport" content = "width=device-width, initial-scale=1.0" > < title > Amazon </ title > < link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity = "sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin = "anonymous" referrerpolicy = "no-referrer" /> < link rel = "stylesheet" href = "STLE.CSS" > </ head > < body > < header > < div class = "navbar border" > < div class = "nav-logo border" > < div class = "logo" ></ div > ...
//There are many types of simple comparison where we shuld only focus for limited time //ex-Equal,Greaterthan,Lessthan etc // console.log("2">1); // console.log("02">1); // console.log(null > 0); // console.log(null == 0); // console.log(null >= 0); //Avoid this type of comparison as much as possible // === it compares the datatypes also console . log ( "2" === 2 ); //False because of different datatypes //Summary //Primitive //7 tytpes-String,Number,Boolean,Null,undefined,Symbol,BigInt //Reference (Non Primitive) //Array, Objects, Function, //+++++++++++++++++++++++++++++++++ //Memory //Stack(Primitive), Heap(Non-Primitive)
Comments
Post a Comment