Changes

Jump to navigation Jump to search
m
no edit summary
Line 217: Line 217:  
if ( check(array, read) !== undefined) {
 
if ( check(array, read) !== undefined) {
 
return dive(array, read);
 
return dive(array, read);
} else if ( Array.isArray(array) ) {
+
}  
 +
if ( Array.isArray(array) ) {
 
var potential_return = [];
 
var potential_return = [];
 
Object.keys(array).forEach( function(item){
 
Object.keys(array).forEach( function(item){
Line 229: Line 230:  
return read;
 
return read;
 
}
 
}
 +
/*
 
if (Object.keys( array ).length > 0 ){
 
if (Object.keys( array ).length > 0 ){
 
Object.keys( array ).forEach( function ( piece ) {
 
Object.keys( array ).forEach( function ( piece ) {
Line 234: Line 236:  
});
 
});
 
}
 
}
 +
*/
 
}
 
}
  
530

edits

Navigation menu