MCPcopy Create free account
hub / github.com/mozilla/rhino / toString

Method toString

rhino/src/main/java/org/mozilla/javascript/Context.java:1768–1770  ·  view source on GitHub ↗

Convert the value to a JavaScript String value. See ECMA 9.8. @param value a JavaScript value @return the corresponding String value converted using the ECMA rules

(Object value)

Source from the content-addressed store, hash-verified

1766 * @return the corresponding String value converted using the ECMA rules
1767 */
1768 public static String toString(Object value) {
1769 return ScriptRuntime.toString(value);
1770 }
1771
1772 /**
1773 * Convert the value to an JavaScript object value.

Callers 15

testItMethod · 0.95
doTestMethod · 0.95
openBraceMethod · 0.95
js_captureStackTraceMethod · 0.95
toLocale_helperMethod · 0.95
js_constructMethod · 0.95
js_importClassMethod · 0.95
js_importPackageMethod · 0.95
evalScriptMethod · 0.95
mainMethod · 0.95

Calls 1

toStringMethod · 0.95

Tested by 5

testItMethod · 0.76
doTestMethod · 0.76
openBraceMethod · 0.76
evalScriptMethod · 0.76