🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: początkujący - prośba o pomoc

#50428
From: porneL
Date: Sat, 11 Dec 2010 18:51
20 lines
1509 bytes
On Sat, 11 Dec 2010 13:13:42 -0000, zpk <zpksoft@op.pl> wrote:

>> > zapoznaj się z:
>>
>> > 1. document.getElementByID().value ...
>>
>> > 2. eval()
>>
>> A po co eval()?
>
> coś miałem pewnie na myśli. Na pewno nie będzie źle, jak i eval() pozna  
> :)

IMHO właśnie będzie. Ta funkcja jest evil() i szczególnie niebezpieczna w  
rękach początkujących, którzy robią potworki zastępujące składnię, której  
nie znają, np. eval("obiekt." + nazwapola).

-- 
http://pornel.net
this.author = new Geek("porneL");
Technical Details
Message-ID: <op.vnkbzt2butk0y1@aimac.local>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <idpqaf$9lr$2@node1.news.atman.pl> <c4351963-f03e-4147-a175-ec9d0656267a@y3g2000vbm.googlegroups.com> <op.vngtgwlfutk0y1@aimac.local> <6487278d-7643-491e-80ae-66c40611dcc0@p1g2000yqm.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: porneL <niusy4@pornel.net>
Newsgroups: pl.comp.lang.javascript
Subject: Re: początkujący - prośba o
 pomoc
Date: Sat, 11 Dec 2010 18:51:19 -0000
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 20
Message-ID: <op.vnkbzt2butk0y1@aimac.local>
References: <idpqaf$9lr$2@node1.news.atman.pl> <c4351963-f03e-4147-a175-ec9d0656267a@y3g2000vbm.googlegroups.com> <op.vngtgwlfutk0y1@aimac.local> <6487278d-7643-491e-80ae-66c40611dcc0@p1g2000yqm.googlegroups.com>
NNTP-Posting-Host: 96.95.187.81.in-addr.arpa
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1292093481 18398 81.187.95.96 (11 Dec 2010 18:51:21 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Sat, 11 Dec 2010 18:51:21 +0000 (UTC)
X-User: pornelspam
User-Agent: Opera Mail/11.00 (MacIntel)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit