7 lines
143 B
JavaScript
7 lines
143 B
JavaScript
|
|
||
|
|
||
|
var alwaysArray = function( somethingOrArray ) {
|
||
|
return arrayIsArray( somethingOrArray ) ? somethingOrArray : [ somethingOrArray ];
|
||
|
};
|
||
|
|