The Secret Life of Objects

Aug 29, 2016 Marijn Haverbeke

Design an interface that abstracts iteration over a collection of values:

<!doctype html>

<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Come on little to remind</title>
    <script src="code/chapter/07_elife.js"></script>
    <script src="code/animateworld.js"></script>
  </head>
  <body>
    <script>
      animateWorld(valley);
    </script>
  </body>
</html>