<script> var age = prompt("你爱我吗"); while (age !== "我爱你") { age = prompt("你爱我吗"); } alert("我也爱你啊!"); </script>