🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #50978

Re: Funkcja korzystająca z instrukcji switch

#50978
From: NKAB -
Date: Fri, 13 Jan 2012 09:47
16 lines
1337 bytes
Vax <mail@zepsul.sie> napisał(a): 

> default - po jakiego grzyba?).

> Naprawdę warto zrozumieć, co to case i break oznacza, a nie traktować je 
> bezmyślnie jak znaczniki początku i końca bloku czegoś na kształt "if".
> 

..a bo ja jestem Monk i lubię tak jak napisałem, mnie nie przeszkadza.
Ale masz rację w default break jest zbędne.

Andrzej.


-- 
Wysłano z serwisu Usenet w portalu Gazeta.pl -> http://www.gazeta.pl/usenet/
Technical Details
Message-ID: <jeouk7$1m$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <a06e9e8f-2ae6-41a8-b804-31e3ef49e304@d10g2000vbh.googlegroups.com> <jeebqu$2r0$1@inews.gazeta.pl> <jel0oj$hbq$1@news.icm.edu.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: "NKAB -" <nkab@NOSPAM.gazeta.pl>
Newsgroups: pl.comp.lang.javascript
Subject: Re: Funkcja korzystająca z instrukcji switch
Date: Fri, 13 Jan 2012 09:47:51 +0000 (UTC)
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 16
Message-ID: <jeouk7$1m$1@inews.gazeta.pl>
References: <a06e9e8f-2ae6-41a8-b804-31e3ef49e304@d10g2000vbh.googlegroups.com> <jeebqu$2r0$1@inews.gazeta.pl> <jel0oj$hbq$1@news.icm.edu.pl>
NNTP-Posting-Host: localhost
X-Trace: inews.gazeta.pl 1326448071 54 172.20.26.241 (13 Jan 2012 09:47:51 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Fri, 13 Jan 2012 09:47:51 +0000 (UTC)
X-User: nkab
X-Forwarded-For: 85.89.190.17
X-Remote-IP: localhost
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit