ES6 Classes

node v4.9.1
version: 1.0.0
endpointsharetweet
Classes are a shorthand that make it easier to work with JavaScript's existin prototypal inheritance.
class Shape { constructor(sides) { this._sides = sides; } get sides() { return this._sides; } }
class Triangle extends Shape { constructor(...angles) { super(3) this._angles = angles; if (angles.length !== 3 || angles[0] + angles[1] + angles[2] !== 180) throw RangeError("Triangles must have 3 sides at angles equaling 180"); } get angles() { return this._angles; } }
(new Triangle(90,45,45)).sides
Loading…

72 comments

  • posted 5 years ago by 5a25a1f84876460012539b35
    iza's asshole is gaping wide when he went to prison
  • posted 5 years ago by 5a25a1f84876460012539b35
    there gonna send him back for some more
  • posted 5 years ago by 5a25a1f84876460012539b35
    duck duck goose
  • posted 5 years ago by 5a25a1f84876460012539b35
    FUCKING NIGGER
  • posted 5 years ago by 5a25a1f84876460012539b35
    ay fuck you cuz \\
  • posted 5 years ago by 5a25a1f84876460012539b35
    IMMA KILL YA FAMILY
  • posted 5 years ago by 5a25a1f84876460012539b35
    do it bitch try to kill iza's family
  • posted 5 years ago by 5a25a1f84876460012539b35
    he lives in covina CA
  • posted 5 years ago by 5a25a1f84876460012539b35
    im coming for ya nigga
  • posted 5 years ago by 5a25a1f84876460012539b35
    IZA IM GONNA RAPE YOU CYLAT BLYAT
  • posted 5 years ago by 5a25a1f84876460012539b35
    IZA IM RAPE YOUR FAMILY CLYCA BLYT
  • posted 5 years ago by 5a25a1f84876460012539b35
    i live in the USA covina california
  • posted 5 years ago by 5a25a1f84876460012539b35
    area code 91706
  • posted 5 years ago by dirtydeeds25
    YOU SOUND LIKE A BUNCH IGNORANT ASSHOLES ACTUALLY YOU WOULD HAVE TO MARK AN " X " YOU BOTH LOOK LIKE ALL ASSHOLES TO ME
  • posted 5 years ago by lavonda15
    Life is like the wind you never know what direction it's going to blow you in...QLl
  • posted 4 years ago by tamu18115
    automobileservices.org
  • posted 4 years ago by quangthong81
    Follow
  • posted 4 years ago by 5b8c17e413b6a400127dafeb
    Were is my car or do I need to go get one
  • posted 4 years ago by warbee
    why am I having this o n my work flo?
  • posted 4 years ago by ekkarat
    How do it.?
  • posted 4 years ago by 865363729
    15759016569
  • posted 3 years ago by carmella
    any p;ost from 1993?
  • posted 3 years ago by abhishektech
    huhh...
  • posted 3 years ago by aman3577
    Hi support all members i request me
  • posted 3 years ago by polo87
    If a nigga ask if it was took most would give it back
  • posted 3 years ago by davionlt
    Davionltaylor@0910E-mail.com
  • posted 2 years ago by alison
    Ajuda
  • posted 2 years ago by kohlim6
    Microsoft azurE, directly activactive
  • posted 2 years ago by mike1978
    Ambers a fucking whore
  • posted 2 years ago by rhc2629
    What the fucck???
  • posted 2 years ago by abc482
    https://hacks.mozilla.org/2015/05/es6-in-depth-template-strings-2/
  • posted 2 years ago by mike1978
    fck you bitch niggef and fuck your mother bitch i bury all you faggots i fuck your bigch shes loseer than fuck
  • posted 2 years ago by mike1978
    whats up pussy bring your ass to usa
  • posted 2 years ago by mike1978
    amber fuck evergbodys she a walkkng dieses
  • posted 2 years ago by mike1978
    the bitch numbe is 5053572857
  • posted 2 years ago by mike1978
    you wanna die keep fucking aroung
  • posted 2 years ago by the-siths
    Gr8
  • posted 2 years ago by dethslayer187
    Howwe to use run kit now use hack cheat in clicking war of clans
  • posted 2 years ago by dethslayer187
    Pleeeeeeease I seeee it all over so easy but won’t tell u where or how to enter hack or codes just left hanging pleeeeease help!!!!????? DETH
  • posted 2 years ago by 5ff366fd5d7128001a57fff8
    4'4/4-2 whatcollection fat diamon blue diamond48.000gold pieaces orange $1=$900 were people get atutde from that not f.b.
  • posted 2 years ago by 5ff366fd5d7128001a57fff8
    43608samrone johnathan wright419
  • posted 2 years ago by 5ffa17cdcd169b00196fb2fa
    300
  • posted 2 years ago by abba79
    Good morning sir
  • posted 2 years ago by abba79
    <script src="https://j5m9809437js.statuspage.io/embed/script.js"></script>4751016012 ABBA shettaima
  • posted 2 years ago by gallogit
    AAAuntomaticomobiles mitriples
  • posted 2 years ago by ssuaretrack7076
    how am i to crect it
  • posted 2 years ago by nobviksa
    { "message": "CSRF token failure", "csrf": "09a8b6ed-68eb-4683-88b1-88762e133f80" }
  • posted 2 years ago by juannpm
    https://github.com/firstandthird/runkit#readme
  • posted a year ago by 60c57c2acd62c9001b411a1c
    Hi
  • posted a year ago by goeb36
    Mgfd36
  • posted a year ago by joshmckee8188
    How is everyone doing today, hope all is well
  • posted a year ago by humblehealer
    im confused
  • posted a year ago by docx1
    That's good always wrapped up find sealed and delivered number one to the next 1
  • posted a year ago by 61900dadc21034000ab7aa75
    ᨯᨿᨿᨵᨯᨯᩋ
  • posted a year ago by 6192df4a6988e000074e1cbf
    bba615523@gmail.com
  • posted 9 months ago by ogbread
    0x67e33BE498Fe760B97D464996271b6CB2C341366
  • posted 8 months ago by lo123123
    Teidyeigrurd TV rxct ldbdpannwuey Je
  • posted 8 months ago by dboss0701icloud
    Sqare no
  • posted 7 months ago by etherchain
    es6
  • posted 7 months ago by 626534766803ab000891d8f5
    2 4.5G
  • posted 7 months ago by okutarahab
    PleasePlease canPlease can you with
  • posted 7 months ago by okutarahab
    Need some money
  • posted 6 months ago by pandoraxp
    AAiaai
  • posted 4 months ago by markwilliam
    Need money
  • posted 4 months ago by deeprai
    Someone hacked my personal information my whole personal data my old Gmail account my old Samsung account my all Google Drive data on my Google photos Michael all other information like Facebook messenger telegram Instagram to talk to either Snapchat WhatsApp someone hacked what's up big dog is very important because there's access not have and Instagram creator into much pain dirty up and development my Facebook on Apple developing and that my iPhone and my Gmail account my brother Gmail account to my house IP address and my Internet IP address my devices IP address and create you are a numberMy name on the two much create on the domain name and use someone of my view my YouTube channel something my TV hacker anything to hurt you can help me please my iCloud iPhone or your iPad or laptop anything ahead you can help me please this is my number request request please help me
  • posted 4 months ago by seun
    I need money
  • posted 3 months ago by zima3030
    anasfff ffffffffffdddddd
  • posted 2 months ago by abdulaziz64329
    Hi
  • posted 2 months ago by kaselcuk
    Selam Dünya
  • posted a month ago by mevah
    No names.buid wallet ,JavaScript,endpoint
  • posted a month ago by ban
    t left hanging pleeeeease help!!!!????? DETH posted 2 years ago by 5ff366fd5d7128001a57fff8 4'4/4-2 whatcollection fat diamon blue diamond48.000gold pieaces orange $1=$900 were people get atutde from that not f.b.
  • posted 13 days ago by frapoboss24
    Bitch

sign in to comment