document.write("
<script> var firstArray = ["red", "green", "blue", "yellow"]; $.each(firstArray, function(){ }); </script>