So lets say I have this array:
var array = ["a","b","c","d"]
Is it possible to move the whole index 2 spaces to the right for example? It should look like this:
var array = ["c","d","a","b"]
What function can I call for this to happen?
So lets say I have this array:
var array = ["a","b","c","d"]
Is it possible to move the whole index 2 spaces to the right for example? It should look like this:
var array = ["c","d","a","b"]
What function can I call for this to happen?