JS Tutorial

Function Reference

Method Reference

  • JS String
  • JS Array
  • JavaScript Comments

    JavaScript Comments code is not executed. it's only for information. In JS two types of comments , Single line and Multi line

    JavaScript single line comments

    Single line comments starting with two forward slashes (//).

    //checking alert
    var x=10; // Single line comments in JavaScript

    JavaScript multiple line comments

    /* This is a multi line comment
    in JavaScript