Skip to content

Instantly share code, notes, and snippets.

@jejacks0n
Created May 10, 2011 16:51
Show Gist options
  • Save jejacks0n/964876 to your computer and use it in GitHub Desktop.
Save jejacks0n/964876 to your computer and use it in GitHub Desktop.
class NewArray extends Array
constructor: ->
super
toString: ->
'aaaaaaaaaaaaaaaaaa'
------------
array = new NewArray()
array.push('something')
console.debug(array.toString())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment