<script language="JavaScript">var DISCOUNT=0.7;function getPrice(){var _book_price=document.myform.bookprice.value; var _price=_book_price*DISCOUNT;var _alert="这本书折扣后价格为"+_price;alert(_alert);}</script>问题:DISCOUNT变量是局部变量还是全局变量?