- Create your project with create-react-app.
- Add a
.npmrcfile with the contents:
global-style = true
- Add a blank
.tesselignorefile so that nothing is left out you don't intend. - Add a
.tesselincludefile with the contents:
| [{ | |
| "id": 1, | |
| "name": { | |
| "english": "Bulbasaur", | |
| "japanese": "フシギダネ", | |
| "chinese": "妙蛙种子", | |
| "french": "Bulbizarre" | |
| }, | |
| "type": [ | |
| "Grass", |
| // Creating arrays | |
| const a1 = [1,2,3]; | |
| const a2 = Array.from([2,3,4]); | |
| const a3 = new Array(20).fill(0).map((n,x) => x + 1); | |
| // Length | |
| a3.length; | |
| // Destructuring arrays | |
| const [v1, v2, v3] = a1; |
.npmrc file with the contents:global-style = true
.tesselignore file so that nothing is left out you don't intend..tesselinclude file with the contents:.npmrc file with the contents:global-style = true
.tesselignore file so that nothing is left out you don't intend..tesselinclude file with the contents: