327 B
Executable File
327 B
Executable File
String Literals
String literals are text values written directly in code.
Examples
const a = 'year';
const b = "month";
const c = '';
'' is an empty string.
Typical Uses
- Labels and constants.
- Comparisons.
- Fallback values.
Good Practice
Keep quote style consistent with project conventions.