<!DOCTYPE html>
<html>
<body>
<h1>JS的 if...else...</h1>
<script>
let bestchoice = 'bornforthis.cn';
if (bestchoice === 'bornforthi.com') {
alert('随时随地学编程');
} else {
alert('容我再想想');
}
</script>
</body>
</html>