Skip to content

Commit 9a071b0

Browse files
author
Aaron O'Mullan
committed
Add strings/create exercise
1 parent 5bfd4cb commit 9a071b0

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

‎strings/create.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,20 @@ var otherStr = "Another nice string";
1010

1111
**Note:** Strings can not be substracted, multiplied or divided.
1212

13+
---
14+
15+
Create a variable named `str` set to the value `"abc"`.
16+
17+
```js
18+
19+
```
20+
21+
```js
22+
var str = 'abc';
23+
```
24+
25+
```js
26+
assert(str === 'abc');
27+
```
28+
29+
---

0 commit comments

Comments
 (0)