Skip to content

Commit ecc7037

Browse files
authored
Update basic-level.md (sumn2u#173)
1 parent 24d2585 commit ecc7037

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

en/interview-questions/basic-level.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -939,3 +939,9 @@ JSON arrays are written inside square brackets and arrays contain javascript obj
939939
{"firstName":"Shane", "lastName":"Warn"}
940940
]
941941
```
942+
943+
### 7.6. In JSON, what is the purpose of square brackets, and how are they used?
944+
945+
**Answer**
946+
947+
In JSON, square brackets [ ] are used to encapsulate and define arrays within JSON data structures. JSON arrays can contain a collection of values, which can be of various data types, including objects, strings, numbers, and other JSON arrays.

0 commit comments

Comments
 (0)