How to comment javascript code?

Use

// for line comments and

/* some code here */ for block comments

Name the numeric constants representing max,min values

Number.MAX_VALUE
Number.MIN_VALUE