Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!news.mixmin.net!proxad.net!feeder1-2.proxad.net!cleanfeed3-a.proxad.net!nnrp4-2.free.fr!not-for-mail
Date: Sun, 10 Nov 2024 20:15:04 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Indexation des tableaux en js
Newsgroups: fr.comp.lang.javascript
References: <672bcce0$0$28508$426a74cc@news.free.fr>
<672ce7d7$0$12934$426a74cc@news.free.fr>
<672ea1f1$0$16817$426a34cc@news.free.fr>
<6730844c$0$424$426a74cc@news.free.fr>
Content-Language: fr
From: Samuel Devulder
In-Reply-To: <6730844c$0$424$426a74cc@news.free.fr>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Antivirus: Avast (VPS 241110-4, 10/11/2024), Outbound message
X-Antivirus-Status: Clean
Lines: 17
Message-ID: <67310638$0$528$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 10 Nov 2024 20:15:04 CET
NNTP-Posting-Host: 88.167.72.245
X-Trace: 1731266104 news-2.free.fr 528 88.167.72.245:20667
X-Complaints-To: abuse@proxad.net
Bytes: 1669
Le 10/11/2024 à 11:00, Thomas Alexandre a écrit :
> ```js
> let a = []
> a[Math.PI] = 3.14
> a[-Math.PI] = -3.14
> a["π"] = 3.14
> a[true] = 1
> a[null] = 0
> a[false] = -1
> a[NaN] = 42
> console.log(a)
> ```
>
> Personnellement je trouve que c'est à vomir.
Peut-être, mais ca imprime quoi au juste ?