Explain me would you initialize your strings with single quotes or double quotes?
Answer Posted / Mr Praveen Kumar Jain
In JavaScript, it is generally recommended to use double quotes to initialize strings because they can be used without needing an escape character for nested quotes. However, some developers prefer using single quotes due to potential benefits in minified code.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers