---
title: "Discussion on \"javascript.info Notes - Strings\" | Hashnode"
description: "Discussion on \"javascript.info Notes - Strings\". Three ways to declare strings in JS\nlet single = 'single-quoted';\nlet double = \"double-quoted\";\nlet backticks = `backticks`;\n\nAccessing characters\nlet str = `Hello`;\n\n// the first character\nconsole.log( str[0] ); // H\nconsole.log( str.at(0) ); // H\n\n..."
url: "https://hashnode.com/posts/javascriptinfo-notes-strings/6561a7d0ab2aca0e4017ecd7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [javascript.info Notes - Strings](https://fiftybugsofgrey.hashnode.dev/javascriptinfo-notes-strings?utm_source=hashnode&utm_medium=feed)

Three ways to declare strings in JS let single = 'single-quoted'; let double = "double-quoted"; let backticks = \`backticks\`; Accessing characters let str = \`Hello\`; // the first character console.log( str\[0\] ); // H console.log( str.at(0) ); // H ...

Nov 25, 2023 · 2 min read · fiftybugsofgrey.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#wemakedevs](https://hashnode.com/tag/wemakedevs)
-   [#learning](https://hashnode.com/tag/learning)

## Written by

[Gaurav Srivastava](https://hashnode.com/@FiftyBugsOfGrey)

@FiftyBugsOfGrey · India

  
[View profile](https://hashnode.com/@FiftyBugsOfGrey)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
