安科网
源代码:
点击运行
<!DOCTYPE html> <html> <body> <script> var firstname; firstname="Hege"; document.write(firstname); document.write("<br>"); firstname="Tove"; document.write(firstname); </script> <p>The script above declares a variable, assigns a value to it, displays the value, changes the value, and displays the value again.</p> </body> </html>
运行结果
Copyright © 2013 - 2019 Ancii.com All Rights Reserved
京ICP备18063983号-5
京公网安备11010802014868号