New Operator

TNO thenewobjective at yahoo.com
Wed Mar 5 14:13:04 PST 2008


Is it too late to propose an integer division operator into the spec? Ido quite a bit of WSH programming in both VBScript an JScript andsometimes its a bit of an irritant during a translation, it would benice to see this operator "\" available in the new ECMAScript insteadof having to rely on more inefficient workarounds:

VBScript:
Dim result
result = 19 \ 4 '(result = 4)

JScript:
http://www.codingforums.com/showthread.php?t=58799
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20080305/f33ad071/attachment-0002.html 


More information about the Es4-discuss mailing list