📅  最后修改于: 2022-03-11 15:02:37.039000             🧑  作者: Mango
// JSON File:
["Your Name 1","Your Name 2"]
// JavaScript File
const object = names.json;
if(objects.toLocalString().includes('Your Name 1')) {
console.log(true);
} else {
console.log(false);
}