I've the following code snippet,
var code = 895804220010013030;
var last = code.slice(-2);
var n = last.includes(00, 01, 10, 11, 20, 21, 30, 31 );
if (n===true) {
alert(n)
} else {
alert('false')
}
But it invokes syntax error, the only way it works well is to put the quotes to the numbers
var code = 895804220010013030;
but I need to run it without putting the quotes.