Is there a neater way to assign the values to objects rather than what I have:
My code:
let val1 = result.data.data.table.val1;
let val2 = result.data.data.table.test.val2;
let val3 = result.data.data.table.val3;
let val4 = result.data.data.table.val4;
let val5 = result.data.data.table.val5;
Is there a neater way to assign this, a one-liner?
.test
, unlike the others?val2