Message from JavaScript discussions

September 2020

— 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??

— 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
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

— If i use only one argument then how would it slice the arr?
What would be the starting and last index?

Message permanent page

— Arg 2 defaults to length of the array

— Try

— What is Nest.js and why should use it?

— Works as a CMS i guess

— Come on dude

— I used "i guess" for a reason

— Hm hm