JSLint says “missing radix parameter”

I ran JSLint on this JavaScript code and it said: Problem at line 32 character 30: Missing radix parameter. This is the code in question: imageIndex = parseInt(id.substring(id.length – 1))-1; What is wrong here? 1Best Answer 11 It always a good practice to pass radix with parseInt – parseInt(string, radix) For decimal – parseInt(id.substring(id.length – … Read more