Microsoft® JScript Arithmetic Operator Behavior |
| Language Reference |
|
The following table describes the behavior of Microsoft JScript arithmetic operators. The columns and rows represent the different types of expressions possible on either side of an arithmetic operator in JScript, and the entries in the table describe the behavior.
This table applies to the following arithmetic operators:
An E in the table indicates a run-time error and an N indicates a numeric result.
obj | as | ns | num | bool | undef | null | |
---|---|---|---|---|---|---|---|
obj | N | E | N | N | N | E | E |
as | E | E | E | E | E | E | E |
ns | N | E | N | N | N | E | E |
num | N | E | N | N | N | E | E |
bool | N | E | N | N | N | E | E |
undef | E | E | E | E | E | E | E |
null | E | E | E | E | E | E | E |
obj = object, as = alphanumeric string, ns = numeric string, num = number, bool = Boolean, undef = undefined, null = null value.
© 1996 by Microsoft Corporation.
file: /Techref/language/asp/js/2.htm, 2KB, , updated: 1996/11/22 10:11, local time: 2024/11/24 08:39,
3.133.157.133:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/TECHREF/language/asp/js/2.htm"> Microsoft® JScript Language Reference </A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.