Relative Content

Tag Archive for javascriptarraysif-statementconsole.log

code cannot print the thing asked for in the if statement

So I have written a code where there are two arrays, one consists of different sets and the other one consists of only three numbers. I’ve written an if statement where if the content of both of the arrays matches together (which it does) it will print “Matched”. But nothing is getting printed on the console. Please help