TypeError: Assignment to constant variable.
christiaan-lombard opened this issue · comments
At this line you are assigning a new value to a const, which throws a TypeError.
const reverseLookup = reverse(reverseValue);
if (reverseLookup == 0) {
reverseLookup = "";
}
Use let
instead.