JavaScript forEach Sample

JavaScript

var a = 10;
var b = "10";

if(a==b)
	alert("true")
else
	alert("false");