apl-mhd

JavaScript Function

Oct 29th, 2018
166
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript">
  2.  
  3.  
  4. function createNewPerson(name) {
  5.  
  6.         this.name = name;
  7.   }
  8.   createNewPerson('orko');
  9.     console.log(name);
  10.  
  11. </script>
RAW Paste Data