JSString

A JSString represents a primitive JavaScript string in the JSAPI.  Conceptually, a JavaScript string is just an array of jschars and a length. You should not rely on the structure of JSString, because it is subject to change; instead, treat JSString objects as opaque.

To get the length of a JSString you can use JS_GetStringLength().

Working with JSString objects

(add a list of links to methods here, maybe some text)

Document Tags and Contributors

Contributors to this page: evilpie, kunpeng, cdleary, Jorend, Sheppy
Last updated by: Sheppy,