I realized I’ve been switching between them with no understanding as to why, and am finding it hard to search for.
Share
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.
' 'and" "are the same thing; they are used to define string literals.Things without quotes can be an identifier, keyword, non-string literal, property name or a number (may have missed one).
Examples:
String literals that are enclosed in single quotes don’t need escaped double quotes and visa versa, e.g.: