Skip to content

Instantly share code, notes, and snippets.

function Student(name, score){
this.name = name;
this.score = score;
this.putTogether = function(){
return this.name + " scored " + this.score + "%"
}
}
var bob = new Student("Bob", 54)
bob.putTogether()

Keybase proof

I hereby claim:

  • I am srgupta on github.
  • I am srgupta (https://keybase.io/srgupta) on keybase.
  • I have a public key ASBE_0fIAL9eGa-Q499uyZ4VB1tvVdtkKoDs0AaqC7pnpQo

To claim this, I am signing this object: