🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.javascript
2 messages
2 total messages Started by jivanmuktaWYTNIJTO Tue, 06 Oct 2009 14:32
newbie: problem z new Array()
#49427
Author: jivanmuktaWYTNIJTO
Date: Tue, 06 Oct 2009 14:32
9 lines
1127 bytes
Napisałem:
  var arr = new Array();
i dostałem w walidatorze błąd:
  Problem at line 467 character 24: Use the array literal notation [].
ProszÄ™ o pomoc.


-- 
Wysłano z serwisu OnetNiusy: http://niusy.onet.pl
Re: newbie: problem z new Array()
#49428
Author: Peter May
Date: Tue, 06 Oct 2009 14:52
11 lines
1173 bytes
jivanmuktaWYTNIJTO@poczta.onet.pl pisze:
> Napisałem:
>   var arr = new Array();
> i dostałem w walidatorze błąd:
>   Problem at line 467 character 24: Use the array literal notation [].
> ProszÄ™ o pomoc.

var arr = [];

-- 
Peter
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads