J
John Nagle
I'm using a Javascript object as an associative array to hold
a collection of domain names:
var domains = {}
var s = "example.com"
domains = true;
So far, so good. But how can I delete that entry by name?
The "." in the value creates problems:
delete domains.example.com;
means something else. And, of course, I need to specify
what to delete at run time.
John Nagle
a collection of domain names:
var domains = {}
var s = "example.com"
domains
So far, so good. But how can I delete that entry by name?
The "." in the value creates problems:
delete domains.example.com;
means something else. And, of course, I need to specify
what to delete at run time.
John Nagle