Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #30001
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Robert Klemme <shortcutter@googlemail.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | (was: Re: Java ScriptEngine with a JavaScript returning what?) |
| Date | Wed, 17 Sep 2014 08:24:12 +0200 |
| Lines | 39 |
| Message-ID | <c7snodFre99U1@mid.individual.net> (permalink) |
| References | <vjhmeb-ecd.ln1@tempest.fredriksson.dy.fi> <lvad3j$qta$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net QH7aPmFSuRrGPLRtBghHmAaDm5Z1xi5RCnlVRU3Xbv/TStF3w= |
| Cancel-Lock | sha1:FK4BOv1bvEzSz3VLyDtxcgu9eHU= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 |
| In-Reply-To | <lvad3j$qta$1@dont-email.me> |
| Xref | csiph.com comp.lang.java.programmer:30001 |
Show key headers only | View raw
On 17.09.2014 00:20, Eric Sosman wrote: > On 9/16/2014 4:02 PM, Donkey Hottie wrote: >> >> Consider a JavaScript: >> >> var blah; >> blah; >> >> So what does the Java's >> >> Object ScriptEngine::eval(String script) return now? Btw, "::" is a C++ism that does not exist in Java. In Java we use a single dot there. >> blah is not null? Is it not undefined either? Java has no "undefined" >> Object type. >> >> What will happen, what will be returned? > > null > > (Obtained by a five-minute experiment. "Five" because I have no > acquaintance with the scripting framework and had to read some doc; > a better-versed person could have obtained the answer more quickly.) <rant> I do not understand why people are really asking these type of questions. It is more rewarding and faster, too, to try these things out than going to a newsgroup to wait for a reply. I think it's time again to reference http://catb.org/~esr/faqs/smart-questions.html </rant> Bye robert
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Java ScriptEngine with a JavaScript returning what? Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-09-16 23:02 +0300
Re: Java ScriptEngine with a JavaScript returning what? Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-09-16 18:20 -0400
(was: Re: Java ScriptEngine with a JavaScript returning what?) Robert Klemme <shortcutter@googlemail.com> - 2014-09-17 08:24 +0200
Re: Re: Java ScriptEngine with a JavaScript returning what?) "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-09-17 09:48 +0100
Re: Java ScriptEngine with a JavaScript returning what?) Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-09-17 08:32 -0400
Re: Java ScriptEngine with a JavaScript returning what?) Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-09-17 20:08 +0300
Re: (was: Re: Java ScriptEngine with a JavaScript returning what?) Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-09-17 19:56 +0300
Re: (was: Re: Java ScriptEngine with a JavaScript returning what?) Robert Klemme <shortcutter@googlemail.com> - 2014-09-17 19:35 +0200
Re: Java ScriptEngine with a JavaScript returning what? Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-09-17 19:58 +0300
Re: Java ScriptEngine with a JavaScript returning what? "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-09-17 18:41 +0100
Re: Java ScriptEngine with a JavaScript returning what? Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-09-17 13:57 -0400
Re: Java ScriptEngine with a JavaScript returning what? Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-09-17 21:12 +0300
Re: Java ScriptEngine with a JavaScript returning what? Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-09-17 21:14 +0300
Re: Java ScriptEngine with a JavaScript returning what? Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-09-17 21:17 +0300
csiph-web