How to solve "identifier starts immediately after numeric literal"
You need to wrap the string with quotes.
onclick='removeRow("+mcnDel+");'
needs to be
onclick='removeRow(\""+mcnDel+"\");'
You need to wrap the string with quotes.
onclick='removeRow("+mcnDel+");'
needs to be
onclick='removeRow(\""+mcnDel+"\");'