Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #22451

How to understand return a,b statement ?

Newsgroups comp.lang.javascript
Date 2013-12-28 08:57 -0800
Message-ID <ec287c43-ac92-489e-8140-55272ace07bb@googlegroups.com> (permalink)
Subject How to understand return a,b statement ?
From Guillaume Biton <guillaume.biton@gmail.com>

Show all headers | View raw


Hello,

I have difficulties to understand the statement :

return a, b

When I try I always get b value ? Anyone can explain ?

Regards

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

How to understand return a,b statement ? Guillaume Biton <guillaume.biton@gmail.com> - 2013-12-28 08:57 -0800
  Re: How to understand return a,b statement ? Guillaume Biton <guillaume.biton@gmail.com> - 2013-12-28 09:03 -0800
    Re: How to understand return a,b statement ? Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2013-12-28 16:00 -0200
      Re: How to understand return a,b statement ? Denis McMahon <denismfmcmahon@gmail.com> - 2013-12-28 20:54 +0000
        Re: How to understand return a,b statement ? Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2013-12-28 23:16 -0200
        Re: How to understand return a,b statement ? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-12-29 17:25 +0100
        Re: How to understand return a,b statement ? Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-12-29 18:22 +0000

csiph-web