Mochabot log - CommonJS IRC channel: #commonjs on irc.freenode.net

2010-01-21:

[2:37] <Dantman> Wes-, how hard is it in SpiderMonkey to create an object with a custom typeof and operators?
[2:59] <Dantman> Tch, the varargs version of the constructor that the annotation system sets up has no way to get the scope.
[3:52] <ashb> Dantman: impossible
[3:52] <ashb> the only operator you can affect is ==
[4:30] <Dantman> Meh, that one isn't that hard to handle.
[4:30] <Dantman> I'm talking typeof
[4:30] <Dantman> Though I suppose not being able to deal with <> might be troublesome
[12:46] <Wes-> dantman: custom typeof and operators requires modifying the parser itself (very difficult)
[13:58] <ondras> charAt(offset) Number an alias for charCodeAt that interoperates with ByteString's charAT.
[13:58] <ondras> wtf.
[13:58] <ondras> there already is String.prototype.charAt ...
[14:28] <ashb> ondras: there is?
[14:28] <ashb> oh yeah thats the whole 'be idenitcal to String/Array' which i think is for the most point useless
[23:22] <tlrobinson> SF Server-side JavaScript meetup/summit next Sat Jan 30, 12-4. http://bit.ly/4rIWPY

 

 

Logs by date :