v1
11/16/2022 by scottmas -00
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
const nested = {a: {b: {c: {d: {e: {f: true}}}}}}
const flat = {'a.b.c.d.e.f': true}

function getValueAtPath(obj, path){
	let curr = obj;
	for(let i = 0; i < path.length; i++){
		curr = obj[path[i]]
	}
	return curr;
}

delete caserun single casemove downdrag and drop case


ready



const val = getValueAtPath(nested, ['a', 'b', 'c', 'd', 'e', 'f'])
delete caserun single casemove updrag and drop case


ready



const val = flat['a.b.c.d.e.f']
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN