Is there any sort of \"not in\" operator in JavaScript to check if a property does not exist in an object? I couldn’t find anything about this around Google or Stack Overflo
It seems wrong to me to set up an if/else statement just to use the else portion...
Just negate your condition, and you'll get the else logic inside the if:
else
if
if (!(id in tutorTimes)) { ... }