Message from JavaScript discussions

September 2020

— I don’t think reading this kind of boring book can help you learn JavaScript. When I was a newbie, I would often write demos to understand some knowledge points. When I encountered doubts, then To check document

Message permanent page

— 

Have you ever heard of 《Secrets of JavaScript ninja》? I am reading this book recently, and I find a lot of useful content~

— And the 《You don't know JavaScript》 https://github.com/getify/You-Dont-Know-JS

— Sounds great..

— I would say power's in JS, but client JS, not server JS

— Why not?

— Because almost everything needs a human interface, so you observe it in the browser (maybe over the network) where everything is controlled by JS (client)

Message permanent page

— Client javascript also may absorb some server's algorithms.. (CSR for example).. but ppl prefer NODE because it's less noisy world, more quieter

Message permanent page

— I can share code between frontend and backend if i use nodejs

— I'm using link prefetch for faster loading of pages.
It's working fine on chrome/opera but not on Firefox.
Any one has idea about it??

Message permanent page

— I am trying to use slice function to make a subarray from a array.
My question is

Lets say i have an array

Let arr = [1,2,3,4,5]
Now i want to make new subarray like this
[3,4,5]
How i am gonna make it?
I know that slice function doesn't include the last index.
So please help

Message permanent page

— You can call slice with only the first argument