You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have two functions that are nearly identical: "instantiateInitialTask()" & "reInstantiateTask()". The only difference between the two is how we are accessing the information(object) within the array - as we are looping through two different arrays with different contents due to the parameters the information we are trying to access is different. array[i].innerText vs array[i].content. That is the only difference between the two functions. We could not figure out how to update that dot notation via a parameter or any other way outside of having two different functions
The text was updated successfully, but these errors were encountered:
We have two functions that are nearly identical: "instantiateInitialTask()" & "reInstantiateTask()". The only difference between the two is how we are accessing the information(object) within the array - as we are looping through two different arrays with different contents due to the parameters the information we are trying to access is different. array[i].innerText vs array[i].content. That is the only difference between the two functions. We could not figure out how to update that dot notation via a parameter or any other way outside of having two different functions
The text was updated successfully, but these errors were encountered: