June 24, 2000 - WMLScript vs. JavaScript | WebReference

June 24, 2000 - WMLScript vs. JavaScript

Yehuda Shiran June 24, 2000
WMLScript vs. JavaScript
Tips: June 2000

Yehuda Shiran, Ph.D.
Doc JavaScript

Supports HTML CommentsNoYes
Non-escape characters preceded by a backslashNoYes
Names may include $ charactersNoYes
Supports global variablesYesYes
Supports automatic declarationsYesYes
Supports the generic term numberYesNo
Specifies maximum and minimum values for integersYesNo
Supports double-precision floating-point valuesNoYes
Supports objectsNoYes
Supports arraysNoYes
typeof returnsan integera string
Supports for..inNoYes
Supports withNoYes
Supports LibrariesYesNo
Supports invalidYesNo
Supports isvalidYesNo
Supports deleteNoyes
Supports voidNoYes
Supports divYesNo
Supports externYesNo
Supports pragmasYesNo
For more on WMLScript, go to Column 62, WMLScript Primer.