I hereby claim:
- I am deradam on github.
- I am deradam (https://keybase.io/deradam) on keybase.
- I have a public key whose fingerprint is 10E0 84FD 9405 64B5 F803 9348 E930 CA1C CED1 9AF4
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/** | |
* Brainstorm API Examples | |
* | |
* User: giemza | |
* Date: 17.02.12 | |
* Time: 10:46 | |
*/ | |
var User = function User(username, screenname, id) { | |
this.username = username || ''; |
/** | |
* Just a test for JavaScript object inheritance | |
* | |
* User: giemza | |
* Date: 06.01.12 | |
* Time: 10:38 | |
*/ | |
// Human constructor, type is 'Function' | |
var Human = function(firstname, lastname) { |
/** | |
* Just a test for JavaScript object inheritance | |
*/ | |
// Human constructor, type is 'Function' | |
var Human = function(firstname, lastname) { | |
// public fields, accessible from outside | |
this.firstname = firstname; | |
this.lastname = lastname; | |
// private field, only accessible from inside, e.g., getFullname function |