全等和不全等1

2017-06-15 10:57:00
admin
原创
558
<!DOCTYPE html>
<html>
	<head>
		<title>
			Equality Operators Example 2
		</title>
		<script type="text/javascript">
			var result1 = ("55" == 55); //true equal because of conversion
			var result2 = ("55" === 55); //false not equal because different data types
			alert(result1);
			alert(result2);
		</script>
	</head>
	<body>
	</body>
</html>
  • QQ讨论群
  • 关注微信
    • 欢迎咨询
    • 欢迎加入QQ群 16506021
  • 公众号:源宝网络