Created
January 8, 2016 15:59
-
-
Save zoolu-got-rhythm/667e5917b4d82204850d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Node(node){ | |
if(typeof node !== "string"){ | |
throw new Error("please inset a string"); | |
} else { | |
this.node = node; | |
} | |
} | |
var node1 = new Node("kieron"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lol did I inspire you much? haha