// 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); }