basic for loop

by BinaryAcid

HTML

<script src="http://jslib.dotcloud.com/fiddle-require.js"></script>
<p>Complete the definition of the function isLost so that it takes a number n and returns true or false. This tells us whether the number is lost or not.</p>

JavaScript

for(var i = 0; i<=3; i++){
      document.write('it works');
}