Re: Can't coerce to string
Charles Goodwin <[email protected]>
| Newsgroups | gmane.comp.java.xwt.core |
|---|---|
| Organization | XWT Foundation |
| Message-ID | <[email protected]> |
On Thu, 2004-03-11 at 01:33, Charles Goodwin wrote:
> var hash = {};
> var key = ibex.box;
> hash[key] = "blah";
> ibex.log.info(key);
That should be ibex.log.info(key + "");
And it shouldn't really die like that. The fact that ibex.log.info(key)
works but ibex.log.info(key + "") doesn't is just confusing as hell.
--
- Charlie
Charles Goodwin <[email protected]>
Online @ http://www.charlietech.com