title: how to require a .js file in node repl
body: <p>so i usually use ruby irb, and I can pull .rb files I wrote into the console environment by running </p>
  
  <pre><code>load './script.rb' 
  </code></pre>
  
  <p>and then all of the functions I wrote in script.rb will be available.</p>
  
  <p>I cannot figure out for the life of me how to do this in the node "console" environment!</p>