I am reading a key-value from registry.It returns a javascript object as shown below,
I am not able to access the value.
I tried to print the value as
path="HKLM\\System\\CurrentControlSet\\Control\\Session Manager\\Environment";
console .log(result.path.values.USERNAME);//prints undefined