Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
User:Abel/experimental.js
(view source)
Revision as of 04:18, 16 May 2019
18 bytes added
,
5 years ago
m
no edit summary
Line 175:
Line 175:
console.log("data is on an array level");
console.log("data is on an array level");
Object.keys( temp_obj ).forEach( function ( ect ) {
Object.keys( temp_obj ).forEach( function ( ect ) {
+
// if we are on an array level in the data, lets iterate through the array
// if we are on an array level in the data, lets iterate through the array
+
console.log("Within partition: " + ect );
console.log("Within partition: " + ect );
future_temp_obj.push( checkdive( temp_obj[ ect ], moving ) );
future_temp_obj.push( checkdive( temp_obj[ ect ], moving ) );
Line 183:
Line 185:
} else {
} else {
+
// if we are not on an array level, proceed with the path
// if we are not on an array level, proceed with the path
+
console.log("data is on an objective level");
console.log("data is on an objective level");
future_temp_obj = checkdive( temp_obj, moving );
future_temp_obj = checkdive( temp_obj, moving );
Abel
530
edits
Navigation menu
Personal tools
Log in
Request account
Namespaces
User page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
New Item
New Property
All items
All properties
All pages
Active Users
SAR service dev
Query Service
Maintenance
Administrator
Tools
User contributions
Logs
View user groups
Special pages
Printable version
Interaction
Community portal
WebXray
Recent changes
Contact Page
Telegram
Discourse forum
MyData Slack