Great talk, I'm swinging off the curtain pole already!
@lurker19739 жыл бұрын
I would recommend Microsoft TypeScript for future use. With TypeScript you will get most of the features of ES6 ready to use in an much more sophisticated JavaScript dialect. In Visual Studion 2015 TypeScript will automatically transpiled (I hope that word exist) in JavaScript ES5. For other IDEs there also transpilers available.
@voodoochile809 жыл бұрын
Out of curiosity: - jQuery has $.extend(); - lodash and has _.extend(); - underscore and has _.extend(); - Angular has angular.extend(); Why then this method was implemented as Object.assign() instead of Object.extend() ? Anyone knows the reason?
@thilosavage9 жыл бұрын
I'm also curious about this. And if not .extend, it seems there's a dozen better verbs than "assign"
@nromancarcamo9 жыл бұрын
TAKE MY MONEY RIGHT NOW
@christopherfujino9 жыл бұрын
The jokes aren't funny at all, but the content is great!
@markrobbins10469 жыл бұрын
indexOf()>-1 contains() for a savings of 2 chars - 17% off! what is wrong with: has() for a savings of 7 characters - 58% off the best would be, of course: haystack.'find' -- save 12 chars -- 100% off! for vars you could do haystack..find // boolean and for indexes of arrays and strings haystack...find // -1 or index and since we are at a jQuery conf, whats wrong with: 'selector'.$.blah()