aeris22’s avataraeris22’s Twitter Archive—№ 80,135

    1. …in reply to @FlavienLefebvre
      @FlavienLefebvre @NosCandidats [] + [] = '' [] + {} = '[object Object]' {} + [] = 0 {} + {} = NaN Array(16).join('wat' - 1) + ' Batman' = 'NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaN Batman'
  1. …in reply to @aeris22
    @FlavienLefebvre @NosCandidats Le test d’égalité en JS aussi…
    oh my god twitter doesn’t include alt text from images in their API
    1. …in reply to @aeris22
      @FlavienLefebvre @NosCandidats isNaN(undefined); // true isNaN({}); // true isNaN("37,25"); // true isNaN("123ABC"); // true isNaN(new Date().toString()); // true isNaN("blabla") // true
      1. …in reply to @aeris22
        @FlavienLefebvre @NosCandidats Je te laisse aussi trouver ce que fait ce code… gist.github.com/aeris/7dee78d809a1f0d9dc1d