9 lines
193 B
JavaScript
9 lines
193 B
JavaScript
> console.log(soliloquy); // Just a reminder of what the string is
|
|
To be, or not to be, that is the question:
|
|
> soliloquy.charAt(0);
|
|
'T'
|
|
> soliloquy.charAt(1);
|
|
'o'
|
|
> soliloquy.charAt(2);
|
|
' '
|