0802作业
PHP
<?php
$CARS=['全新宝马 8系敞篷跑车','全新宝马 8系双开门跑车','全新宝马 8系长轴跑车'];
foreach($cars as $car):
?>
<ul>
<li><a href="#"><?php echo $car ?>
</a>
</li>
<?php endforeach ?>
js
<script type = 'text/javascript'>
let cars=['全新宝马 8系敞篷跑车','全新宝马 8系双开门跑车','全新宝马 8系长轴跑车'];
for ( let h = 0; h <cars.length; h++){
}
</script>