So because it knows it’s.

Lekan: Does anyone know what’s the status with ASM.JS? How soon will all the major browsers support it?

Doell: Hey guys, Anyone able to ***ist me in getting an image to show in Callback function division ?

Vafiadis: The “reducer” function you p*** in has 4 arguments p***ed into it though it’s common not to use all four: the “ac***ulator”, which starts as the initial value or the first value of the array if you don’t provide an init value, the “current” value of the array for a p*** though keep in mind that situation with no init value provided, the index, and the full array

Vafiadis: So it looks like functionac***, value, index, array { }

Vafiadis: Though I often call the ac***ulator something more context-specific, like “prev” or “col” short for collection

Mate: Protomega: string ‘STARTabcdefg’

Mate: Kkiro: SyntaxError: syntax error

Vafiadis: Kkiro: you’ll need Eady if you want to use ES6. try b

Silk: I would like to know if is there a way to use a javascript array on a java cl***

Ealick: Say the matrix is like 1,2,3,4,5,6,7,8,9 I am trying to traverse it to 1, 5, 9, 2, 6,4,8, 3,7; as in principal diagonal first and then subdiagonals and superdiagonals

Amadon: So I got my code to work,,console , I’d hate to ask if this is the “only” way because of course there are multiple ways. But this is this the approach you would use if you were using an arrow function like I was? Or would you ***ign something different instead of 0?

Yule: Protomega,,console

Butz: So basically what you did

Noman: I just like to separate the extracting of data from the reduce

Cupelli: But more fluid. Instead of having to call on an object’s property, you just extract it using map to a new array that should be used. Brilliant.

Mcalary: Also, hello GreenJello :

Mcdermott: A more important question, I read the docs and I actually understand how reduce is working now, but I don’t understand the syntax still i.e. arr.reducecallback, initialValue . Is this following a specific structure like phonetics has?

Vafiadis: Also, keep in mind that it being an arrow function is irrelevant here

Vafiadis: An arrow function has little impact on the function execution other than the fact that it has a lexically-scoped “this” and can’t be used as a constructor for that same reason

Vafiadis: Er, and by can’t be used as a constructor I mean can’t be used with “new”

Zurheide: Right, a,b = a + b; can be thought of as functiona, b{ return a+b; } yeah?

Vafiadis: In that contaxt, yeah

Mintz: Also, phonetics: Java /ˈjävə,ˈjavə/

On: Protomega: A bit like functiona, b { return a + b; }.bindthis

Vafiadis: Nah, it’s just a notation

Vafiadis: The , initialValue just indicates that the initialValue param is optional

Lundby: That’s cool. I wonder if there’s anything else on other syntaxes. I guess I’ll cross that bridge when I see it. Thanks for all the help guys.

Orejuela: Protomega: Your “push” in the “list”

Ruedy: Protomega: {name, age} is the same as {“name”: name, “age”: age}

Aichele: I get hung up on making code look pretty, so instead of doing n{n”name”: name,n”age”: agen},n.n where I will occasionally forget to press enter, I just made something that looks pretty. Even though impractical.

Hermanowicz: Unless you were pointing out something completely different.

Connors: Protomega: I just wanted to tell you that there was in your code 2 shortcuts that could have been used,console

Sicola: Protomega: 1 {name, age} instead of {“name”: name, “age”: age} 2 {age} = age instead of person = person.age

Castricone: Rcyr: Holy crap, that’s awesome!

Raina: So because it knows it’s pushing an object, and it doesn’t declare a property name, it just names the property as whatever the variable is.