|
|
@ -2,14 +2,14 @@ |
|
|
|
|
|
|
|
|
|
|
|
### Instructions |
|
|
|
### Instructions |
|
|
|
|
|
|
|
|
|
|
|
Create a constant variable for each primitives: |
|
|
|
Create a constant variable for each of the following primitive types: |
|
|
|
|
|
|
|
|
|
|
|
- `str` for `String` |
|
|
|
- `str` for `string` |
|
|
|
- `num` for `Number` |
|
|
|
- `num` for `number` |
|
|
|
- `bool` for `Boolean` |
|
|
|
- `bool` for `boolean` |
|
|
|
- `undef` for `undefined` |
|
|
|
- `undef` for `undefined` |
|
|
|
|
|
|
|
|
|
|
|
### Notions |
|
|
|
### Notions |
|
|
|
|
|
|
|
|
|
|
|
- [nan-academy.github.io/js-training/examples/primitive-and-operators](https://nan-academy.github.io/js-training/examples/primitive-and-operators.js) |
|
|
|
- [Primitives and operators](https://nan-academy.github.io/js-training/examples/primitive-and-operators.js) |
|
|
|
- [nan-academy.github.io/js-training/examples/variables](https://nan-academy.github.io/js-training/examples/variables.js) |
|
|
|
- [Variables](https://nan-academy.github.io/js-training/examples/variables.js) |
|
|
|