Skip to content

Commit f769f29

Browse files
Merge pull request #4 from Sandeep-source/patch-1
Corrected single quote string declaration
2 parents ad5fb04 + 8163f5a commit f769f29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1_variables_and_data_types/variablesDataTypes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ There are 3 ways of representing a string:
4141
We can use Single Quote or Double Quote if we just want to statically display it.
4242

4343
```js
44-
const singleQuote = "Hello";
44+
const singleQuote = 'Hello';
4545
const doubleQuote = "Hello";
4646
```
4747

@@ -115,4 +115,4 @@ console.log(typeof arr); // object
115115

116116
// date is an object;
117117
const date = new Date();
118-
console.log(typeof date); // object
118+
console.log(typeof date); // object

0 commit comments

Comments
 (0)