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
I want to have an array of nightmare instances and reference by index. I've done this before but I can't remember how the syntax is. How can I store each new nightmare instance for referencing later?
for example maybe something like this. I want to push into array but I don't know if this is right way to do it, should I use a separate array or just change nightmare to nightmare[]?
I want to have an array of nightmare instances and reference by index. I've done this before but I can't remember how the syntax is. How can I store each new nightmare instance for referencing later?
for example maybe something like this. I want to push into array but I don't know if this is right way to do it, should I use a separate array or just change nightmare to nightmare[]?
The text was updated successfully, but these errors were encountered: