Upgrade to Pro — share decks privately, control downloads, hide ads and more …

La drôle d'histoire de JavaScript

La drôle d'histoire de JavaScript

Retour sur les évènements, hasards et personnalités marquantes de l'étrange histoire de JavaScript.

Matthias Le Brun

June 22, 2022

Transcript

71 slides
  1. ES1

  2. ES3

  3. function Meetup(name) { this.name = name; } Meetup.prototype.sayHello = function(participantName)

    { return "Hello from " + this.name + ", " + participantName + "!"; } var meetup = new Meetup("Paris.JS"); meetup.sayHello("Matthias"); // "Hello from Paris.JS, Matthias!"
  4. function extend(myClass) { function F() {} F.prototype = myClass.prototype; return

    new F(); } function ParisJS() { return Meetup.call(this, "Paris.JS") } ParisJS.prototype = extend(Meetup);
  5. Array.prototype.each = function (func) { for(var i = 0; i

    < this.length; i ++ ) { func(this[i]) } }
  6. ES4

  7. re

  8. JS

  9. thank you Matthias Le Brun @bloodyowl → Co-lead front end

    developer at swan.io → Paris.JS organizer → Putain de Code co-founder & host We're hiring!

More Decks by Matthias Le Brun

Other Decks in Technology