📄 forinlimit.html
字号:
<HTML><HEAD><TITLE>Car properties</TITLE>
<script>
function Car(make,model,color,doors){
this.car_make=make;
this.car_model=model;
this.car_color=color;
this.car_doors=doors
}
</script>
</HEAD>
<BODY>
<pre>
<h1>Select Reload or Refresh to restart the SpeedLimit program.</h1><p>
<script>
sport_car=new Car();
sport_car.car_make="Triumph";
sport_car.car_model="Spitfire";
sport_car.car_color="Yellow";
sport_car.car_doors=2;
for(prop in sport_car){
document.writeln(sport_car[prop]);
}
</script>
</pre>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -