FreeCodeCampChina / FreeCodeCampChina/freecodecamp.cn
217题题干
- Dominant language
- CSS
- Stars
- 37.8k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
Challenge [Introducing JavaScript Object Notation JSON](https://www.freecodecamp.cn/challenges/introducing-javascript-object-notation-json) has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
```javascript
var myMusic = [
{
"artist": "Billy Joel",
"title": "Piano Man",
"release_year": 1973,
"formats": [
"CS",
"8T",
"LP" ],
"gold": true
}
// 请在这里添加专辑
];
```
因为它允许 数据结构 是 字符串,数字,布尔值,**_字符串_**,和 对象 的任意组合。
原文They allow for arbitrary combinations of strings, numbers, booleans, arrays, **_functions_**, and objects.
应该将第二个字符串改成**函数**
Contributor guide
Assessment
This issue has not been assessed yet.