From: Richard Cornford on
Sean Kinsey wrote:
>On Apr 27, 11:48 pm, chapai wrote:
<snip>
>> Additionally (not required), you can send following answers (b=? and
>> _why_) with attached resume to jsdev ... .com.
>>
>> 1. a = 2; b = a++ + (--a * ++a);
>> 2. b=!-[1,];
>> 3. b = +!{}[0];
>
> Do you mean you only need to be smart enough to run the above code
> step by step in firebug and deduct whats happening?

There wouldn't be much of an excuse for sending incorrect answers for
the value of b, but the minimum problem with stepping it through firebug
is that JavaScript(tm) will only give one of the two possible results
for the answer to question 2. The other answer, and why it happens,
might go unnoticed.

Richard.

From: John G Harris on
On Tue, 27 Apr 2010 at 14:48:52, in comp.lang.javascript, chapai wrote:

>San Francisco, CA,

Is there really a San Francisco in Canada ?

John
--
John Harris
From: Mel Smith on

"John G Harris" <john(a)nospam.demon.co.uk> wrote in message
news:xW7ZHnEjdA2LFwA3(a)J.A830F0FF37FB96852AD08924D9443D28E23ED5CD...
> On Tue, 27 Apr 2010 at 14:48:52, in comp.lang.javascript, chapai wrote:
>
>>San Francisco, CA,
>
> Is there really a San Francisco in Canada ?
>


Yes, but we call it ' St. Francis', and it is in Ontario (ON) :)

-Mel Smith
(living in Edmonton, AB and Mesa, AZ)


From: Asen Bozhilov on
chapai wrote:

> Additionally (not required), you can send following answers (b=? and _why_)
> with attached resume to   jsdevelo...(a)mediaplex.com.
>
> 1. a = 2; b = a++  +  (--a * ++a);
> 2. b=!-[1,];
> 3. b = +!{}[0];

The correct answers on your questions are there:
<URL: http://www.amazon.com/Elements-Programming-Style-Brian-Kernighan/dp/0070342075
/>

The local guru can read that book. After he reads that book, can help
on your company to gives better questions!

From: Dr J R Stockton on
In comp.lang.javascript message <xW7ZHnEjdA2LFwA3(a)J.A830F0FF37FB96852AD0
8924D9443D28E23ED5CD>, Wed, 28 Apr 2010 11:01:07, John G Harris
<john(a)nospam.demon.co.uk> posted:
>On Tue, 27 Apr 2010 at 14:48:52, in comp.lang.javascript, chapai wrote:
>
>>San Francisco, CA,
>
>Is there really a San Francisco in Canada ?

Google Maps finds several, including
San Francisco Pizza, near Bradford West Gwillimbury, ON, Canada

--
(c) John Stockton, nr London, UK. ???@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.

Food expiry ambiguities: <URL:http://www.merlyn.demon.co.uk/date2k-3.htm#Food>