How to create nested child objects in Javascript from array?
list = [a,b,c] array to below object form using javascript
a:{
b : {
c : {
}
}
}
list = [a,b,c] array to below object form using javascript
a:{
b : {
c : {
}
}
}