Hi,
I need to create an object that at the same time has a string value:
foo = "string1";
foo.bar = "string2";
It must be possible since browsers have a lot of these cases:
location = "str";
location.href = "str";
etc..
Thank you in advance for any light on this problem,
regards,
Iñigo Koch
I need to create an object that at the same time has a string value:
foo = "string1";
foo.bar = "string2";
It must be possible since browsers have a lot of these cases:
location = "str";
location.href = "str";
etc..
Thank you in advance for any light on this problem,
regards,
Iñigo Koch
Comment