UNPKG
@thejones/react-common-components
Version:
latest (2.0.1)
2.0.1
2.0.0
React component - semantic ui
example.com
@thejones/react-common-components
/
node_modules
/
@babel
/
runtime
/
helpers
/
arrayWithoutHoles.js
11 lines
(9 loc)
•
227 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
function
_arrayWithoutHoles
(
arr
) {
if
(
Array
.
isArray
(arr)) {
for
(
var
i =
0
, arr2 =
new
Array
(arr.
length
); i < arr.
length
; i++) { arr2[i] = arr[i]; }
return
arr2; } }
module
.
exports
= _arrayWithoutHoles;