im currently working through the lodash project and double checking with the video as I go and for the inRange method my code matches the video but I get errors whereas the video does not.
here is the relevant code
inRange(number, start, end){
if (end === undefined) {
end = start
start = 0
} if (start < end){
var temp = end
end = start
start = temp
}
var isInRange = start <= number && number < end
return isInRange
},
};