मैं राइनो 1.7R4 उपयोग कर रहा हूँ और 1.2 env.js जावाराइनो प्रिंट समारोह
मैं जावा कंसोल के लिए मेरी जावास्क्रिप्ट कोड से एक स्ट्रिंग प्रिंट करना चाहते हैं अंदर जावास्क्रिप्ट कोड को चलाने के लिए।
के अनुसार: http://evilroundabout.blogspot.com.au/2009/11/javascript-printing-rhino.html
का उपयोग करना चाहिए: प्रिंट ("हैलो दुनिया");
लेकिन मैं जब मैं करता हूँ:
org.mozilla.javascript.EcmaError: ReferenceError: "print" is not defined. (svg-renderer-highcharts-2.1.4.js#20)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)
at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3750)
at org.mozilla.javascript.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1794)
at org.mozilla.javascript.ScriptRuntime.getNameFunctionAndThis(ScriptRuntime.java:2188)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1308)
at script.renderSVGFromObject(svg-renderer-highcharts-2.1.4.js:20)
अगर मैं का उपयोग document.write मैं किसी भी उत्पादन नहीं दिख रहा।
अपना जावास्क्रिप्ट और जावा कोड लाएं। – randominstanceOfLivingThing