>> All right, so this is gonna work just like it. I'm gonna ask you a multiple choice question. Five of them. You have one lifeline, one ask the audience whereby round of applause, they can tell you what they think the answer is.
>> I know it's not D, and B would be too easy. So, C.
>> C, final answer?
[00:02:03] What's running through your head? We got to make this good for TV.
>> Well, yes, sure. If the answer was A this would probably not be a question.
>> Good call, good thinking.
>> Even though [CROSSTALK] I think we can agree that A would be the the expected choice.
>> If a human was doing it
>> So, neither of those are strings, so probably not D. So either B or C. We're gonna go with B.
>> So the fifth month is May, which does have 31 days.
[00:03:26] But again, this is probably not the obvious answer.
>> Does exactly what you think it would do. So if we start counting nodes at 0
>> I don't know. And that would be June 31, which isn't a thing.
[00:03:52] So, A.
>> A, final answer?
>> All right, very good, it is A. I think you're the first person to ever get this one right
>> Months, when constructing dates and only months are zero based. So this does indeed specify June 31st, which doesn't exist and it overflows into July 1st, 2016.
>> Right. So I think what we have here would be an Array within an Array.
[00:04:49] So not B. I'm gonna ask the audience.
>> All right. Audience, without cheating, what do you think it is by round of applause? Who think it's A? Nobody thinks it's A. Who thinks it's B? Nobody thinks it's B. Who thinks it's C?
>> Okay, who thinks it's D?
>> All right, somewhere in between C and D I think [LAUGH]. The audience isn't collectively sure.
>> D? Why do you think it's D?
>> Maybe it's C.
>> Doo doo. Which one do you think? Waffling between C and D?
>> Yep, we'll go with D.
>> D, final answer?
>> C, final answer.
>> C, final answer.
>> All right, here we go. I'm sorry it was D. Instantiating an Array with multiple arguments creates and Array with those values in it. However, if you instantiate an Array with a single argument, it creates an empty Array with that length.
>> A, final answer. Sorry, you should have known it wouldn't have been the expected answer. The Array prototype sort's default comparison uses strings.
[00:09:00] And so we need to figure out ways to when we screw up find it faster and prevent it from happening the next time.