🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: eval i zera na początku

#39438
From: porneL
Date: Thu, 13 Apr 2006 20:31
13 lines
1170 bytes
On Thu, 13 Apr 2006 19:28:29 +0100, Paweł <pawel.neo@neostrada.pl> wrote:

> Chcia?em zamieni? tekst na liczb?. Zastosowa?em wi?c funkcj? eval.

Jeśli gdzieś cię kusi użycie eval(), to oznaka, że koniecznie natychmiast  
musisz przeczytać instrukcję i nie używać eval().

parseInt()/parseFloat()


-- 
* html {redirect-to: url(http://kurs.browsehappy.pl);}
this.author = new Geek("porneL");
Technical Details
Message-ID: <op.s7yraevyfux2e6@pornel.net>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <e1m591$k2f$1@atlantis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: porneL <niusy@pornel.net>
Newsgroups: pl.comp.lang.javascript
Subject: Re: eval i zera na początku
Date: Thu, 13 Apr 2006 21:31:16 +0100
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 13
Message-ID: <op.s7yraevyfux2e6@pornel.net>
References: <e1m591$k2f$1@atlantis.news.tpi.pl>
NNTP-Posting-Host: pornel.plus.com
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1144960278 8318 84.92.248.233 (13 Apr 2006 20:31:18 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Thu, 13 Apr 2006 20:31:18 +0000 (UTC)
X-User: pornelspam
User-Agent: Opera Mail(BETA2)/9.00 (MacPPC)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit