fix(curriculum): removed link in JS basic-JavaScript (#46143)

* fix(curriculum): removed link in JS basic-javascript

* removed JSON and its example
This commit is contained in:
Muhammed Mustafa
2022-05-26 16:36:21 +02:00
committed by GitHub
parent 2ef9fc68f4
commit 864f4a199a

View File

@@ -29,21 +29,7 @@ const ourMusic = [
];
```
This is an array which contains one object inside. The object has various pieces of <dfn>metadata</dfn> about an album. It also has a nested `formats` array. If you want to add more album records, you can do this by adding records to the top level array. Objects hold data in a property, which has a key-value format. In the example above, `"artist": "Daft Punk"` is a property that has a key of `artist` and a value of `Daft Punk`. [JavaScript Object Notation](http://www.json.org/) or `JSON` is a related data interchange format used to store data.
```json
{
"artist": "Daft Punk",
"title": "Homework",
"release_year": 1997,
"formats": [
"CD",
"Cassette",
"LP"
],
"gold": true
}
```
This is an array which contains one object inside. The object has various pieces of <dfn>metadata</dfn> about an album. It also has a nested `formats` array. If you want to add more album records, you can do this by adding records to the top level array. Objects hold data in a property, which has a key-value format. In the example above, `"artist": "Daft Punk"` is a property that has a key of `artist` and a value of `Daft Punk`.
**Note:** You will need to place a comma after every object in the array, unless it is the last object in the array.