<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>演示JS中逻辑运算</title> </head> <body> <script type="text/javascript"> var x = 9 var y = 12 alert( x < y & y); </script> </body> </html>