FF
FF
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
nice of you
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
How are you my friend
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
Yes, primivite values have pointer too but JS handles it for us. I will remove the pointer thing from my answer. True is just "reference"
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
But if Javascript would be a pass by reference language my statement would be true
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
but if i want to change the arr itself which holds a reference as a VALUE, i lost that reference.
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
If i want to change it with its index like arr[index], i can do it because the variables inside that array empty strings which is primitive type
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
In my 2D array, forEach go over arrays. So, arr parameter holds a reference to that nested array.
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
Javascript is a pass by value language so, when i pass an array as an argument it holds a reference VALUE
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
and more importantly about pass by value and pass by reference terms
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
i did research about shallow copy
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
yes
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
i will fix it when i have time
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
sorry my bad
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
but i will read more
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
@ἔρως i think i understand
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
nvm then
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
i know excali has built in tools for that but you can use it on blogs if you have one
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
the graphics you made was good on that one you send me
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
or just showing some stuff with it
214 replies
KPCKevin Powell - Community
Created by FF on 8/5/2024 in #front-end
JavaScript Array Manipulation: Issues with forEach
you have any interest in graphic design
214 replies