Introduction to JavaScript

Video

JavaScript Notes

JavaScript
    //DECLARING & ASSIGNING VARIABLES
    var name = "Steve"; // Datatype String
    var id = 34534; // Datatype Number
    var alive = true; // Datatype Boolean
    var xyz;          
    
    //ASSIGNING NEW VALUES
    alive = false;
    id = 7;
    name = "John";
    xyz = null;
    
    console.log(name);
    console.log(id);
    console.log(alive);
    console.log(xyz);