I have a problem with some js code and i hope you will help me
I've got an array like this :
var object = {
    one : {
        'first' : 'value1',
        'second' : 'value2'
        'third' : {
            'first' : 'value1',
            'second' : 'value2'
        }
    }
    ...
}
And a string like :
var string = 'one.third.second'
So, my question is - how can i edit the object's value with key from the string?
Thanks!
 
    