Do you have coding questions?
Check out this sample array group:
myArray = { tab1 : [], tab2 : [], tab3 : [], tab4 : [] }
I'm looking to always retain the first tab (tab1) and an additional tab based on an index (ranging from 2 to 4)
For instance, if my index value is 2, I aim to keep tab2 resulting in :
myArray = { tab1 : [], tab2 : [] }
Your help is appreciated!