Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Person
- constructor: (@name,@age) ->
- sayYourName: ->
- alert @name
- class Girl extends Person
- constructor:(@name,@age) ->
- sayYourNameAndAge: ->
- alert @name
- p = new Person "faisal",22
- p.sayYourName()
Add Comment
Please, Sign In to add comment