12 lines
385 B
Plaintext
12 lines
385 B
Plaintext
按照此伪代码编写一个Node.js脚本,要求:
|
|
1. 尽量不使用第三方库,adm-zip 除外(用来解析jar包)
|
|
2. 使用双引号代替单引号
|
|
3. 使用引号
|
|
|
|
伪代码:
|
|
递归遍历 ./data 及其子文件夹下的所有 *.json {
|
|
const recipeJson = 读取 *.json
|
|
if (!recipeJson["ingredients"]){
|
|
console.log(*.json文件路径)
|
|
}
|
|
} |