Message from JavaScript discussions

August 2020

— Yeah, but i am surprised how popular blazor starts to be

— 

Like blazor is preview of preview, it’s really young thing and possible music of future, yet people start to notice it and do some cool stuff in it

— I noticed it because of you🤤

— Yeah, i noticed it because of my retardation

— Eggheaddidation

— But really, i am looking forward to see what happens in the future, because microsoft tends to get closer and closer to chromium core, forking it and creating their own browser, commiting some features into original chromium core and they build blazor as runtime, not as built wasm module, the virtual dom is structured in way you could implement it natively into browser

Message permanent page

— It either dies or we’ve got some possibility of seeing .net runtime in future browser cores lol

— Eggheaddidation is thinking that there is some chance that things like YEW will take over lol

— On the topic of edge, does anyone here play edge://surf (admittedly it's a completely unrelated question)

Message permanent page

— Lol

— Btw i think i recon who is destined to become a popular tech blogger🤔

— Hi Everyone,

i'm new to JS.

So,I stared solving a code challenge and this is the requirement.

Given an array of different type of elements as below.

[
"cat",
2,
0,
null,
["-1", undefined, {}, 7, ["car", "dog", 5, [2, 19], 2]],
];

I should return an array of only numbers.



I solved the code but when I used .push instead of .contact inside the reduce array method I got an error saying push isn't a function.


Can anyone please explain about the error and why shouldn't I use .push instead of .concat in this case.

Message permanent page