dmikester1
dmikester115mo ago

dmikester1 – 18-52 Oct 20

Does this code modify the original 'groups' array? groups.find((g) => g.group === name).type = val;
2 Replies
ghardin137
ghardin13715mo ago
it would modify the value in the object that's in the array so technically yes
reactibot
reactibot14mo ago
This thread hasn’t had any activity in 36 hours, so it’s now locked. Threads are closed automatically after 36 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/1164999555444650005