I learn javascript from an online resource. I got to this example. Is there any possibility how to write this code "better"? Is it not antiquated?
<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Arrays</h1>
<p>The best way to loop through an array is using a standard for loop:</p>
<p...