Path: csiph.com!news.mixmin.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.m-online.net!news.bgeserver.de!bgepartei.de!news2.open-news-network.org!.POSTED.212.235.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: Firefox changed IFRAME behaviour - I need a remedy?? Date: Sun, 04 Aug 2019 11:44:35 +0200 Organization: PointedEars Software (PES) Lines: 35 Message-ID: <2365295.nEtfeUBsog@PointedEars.de> References: <593a3b98-6915-4561-b4df-0b096d1cdd56@googlegroups.com> <0d372bee-66f1-4aa6-9b15-2b802c70c1a6@googlegroups.com> <4a0f55db-a21c-4fb1-aec3-e678e40b41e0@googlegroups.com> <31423186-83d0-46fa-b6c9-48afc04d470f@googlegroups.com> <32aa4e0f-2a8d-4722-a805-974dc493740e@googlegroups.com> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit Injection-Info: news2.open-news-network.org; posting-host="212.235.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch:178.197.235.212"; logging-data="7972"; mail-complaints-to="abuse@bgeserver.de" User-Agent: KNode/4.14.10 X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. On Friday, August 2, 2019 at 7:59:50 AM UTC-5, dr.j.r...@gmail.com wrote: >> I use an Object as a Set, and don't need the additional properties >> of a Set. > > If you want a set, use a Set. Semantics matter. All elements of a set must > support an equality test. Using an object you can't do this as you are > forced to represent every member as a string. Example: JFTR, a Set in OOPLs *is* conceptually, and particularly in ECMAScript Ed. 6+ *literally*, an object. It is just not *an Object instance* when built- in, and it would not be a *plain* Object instance when emulated (yes, this is possible using explicit setters and getters, or ES 6+ Proxy [but the latter is probably pointless]). >