const loc = null; if (dist < 10) loc = "here"; else loc = "there";