I need to know if double // slashes on the URL comment could produce errors:
function jsFunction(){
//http://google.com
var str="...";
}
Other than syntax-highlighting-related errors
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
//are single line comments, anything after it on the same line will be commented out, even more/characters./*is used to begin a multi-line comment. The next*/will end the multi-line comment. This could be an issue if you try comment out a regular expression: