Question:

What does this java script mean? /*******?

by  |  earlier

0 LIKES UnLike

I'm looking at some code and trying to get a basic idea what the /**** is intended for before an after some text that is entered.

 Tags:

   Report

3 ANSWERS


  1. /*   means this is the start of a block comment

    */   means this is the end of a block comment

    ex:

    /* THIS IS A COMMENT, IT WILL NOT BE READ BY THE PROGRAM */


  2. java

    programming language for network-based applications running on World Wide Web pages on the Internet (Computers)  

  3. /* is the start of a comment

    some programmers start the comment with a line of '*' to make a solid line to clearly show to the programmer where the line starts.

    the line is really just a comment that gets ignored by javascript.

    */ is the end of a comment

    example:

    /* this is a comment */

    /******************

      this is an easy to find comment

    *****************/

    have fun...

    the cowboycoder

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.