let setuphammock = (location) => { if(location.eschew && location.precursory) { let solution = "find a serene spot to reconstitute your energy in a clandestine hammock retreat"; for(let i = 0; i < location.spots.length; i++) { if(location.spots[i].hidden) console.log(solution); } } };