Objectifs
Définir la fonction createArray
/**
*
* @param {number} start The start of the createTab.
* @param {number} end The end of the createTab.
* @param {number} step The value to increment or decrement by.
* @param {boolean} [fromRight] Specify iterating from right to left.
* @returns {Array} Returns the createTab of numbers.
*/
createTab(10,20) = [10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
createTab&(0,9,3) = [ 0, 3, 6 ]
createTab(0,9,3,true) = [ 6, 3, 0 ]