On Feb 17, 1:40 am, Jason Mulligan <[email protected]> wrote: > a more complete implementation... > > Object.prototype.define = function(args, value) { > if (typeof(args) != "string") { throw "Expected a String"; } > > args = args.split(".");
Unless one of the property names has a period in it, or some other character that doesn't fit the the dot property access scheme. I wish posters here would stop top-posting and trim replies, it makes threads much easier to follow. -- Rob -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
