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