johncjensen / gremlin-javascript-sandbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Basic JS Object Playground Define an object (Gremlin in this case) with a constructor method containing the following attributues:

  • name
  • size
  • color
  • haircolor
  • eyecolor
  • birthyear

Then printing out the new instance withconsole.log( mygremlin.toString() );

####MIT License

About


Languages

Language:JavaScript 100.0%