Update JS string content - added backticks ( `` ) (#6767)

* Update string@1RcwBHU3jzx0YxxUGZic4.md

added backtick ( `` )

* Update src/data/roadmaps/javascript/content/string@1RcwBHU3jzx0YxxUGZic4.md

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
pull/6768/head
iliAsghar 3 months ago committed by GitHub
parent 8e407c95a1
commit a81fd615d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/data/roadmaps/javascript/content/string@1RcwBHU3jzx0YxxUGZic4.md

@ -1,6 +1,6 @@
# String
String is a primitive type that holds a sequence of characters. String in Javascript is written within a pair of single quotation marks `''` or double quotation marks `""`. Both quotes can be used to contain a string but only if the starting quote is the same as the end quote.
String is a primitive type that holds a sequence of characters. String in Javascript is written within a pair of single quotation marks `''`, double quotation marks `""`, or backticks ` `` ` (template literals). All types of quotes can be used to contain a string but only if the starting quote is the same as the end quote.
Visit the following resources to learn more:

Loading…
Cancel
Save