Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: Using a single module Date: Thu, 24 Sep 2020 20:44:02 +0200 Lines: 38 Message-ID: References: <67Wdnb4wtM6Kr_nCnZ2dnUU7-aPNnZ2d@westnet.com.au> <2f1bf4d2-d350-4da1-8bfa-3af3a0ea60d3o@googlegroups.com> <2d750160-fd2a-47fe-b1ba-3a1067e81622o@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net TVhv7TMg5nN90yMEMKm5IgIufwdRAA052he4UipP5t0GtilTv/ Cancel-Lock: sha1:3MUaCDKCVBKa9bE9aPfZDm8H9qE= In-Reply-To: <2d750160-fd2a-47fe-b1ba-3a1067e81622o@googlegroups.com> Xref: csiph.com comp.lang.javascript:38854 Julio Di Egidio: > On Thursday, 24 September 2020 19:35:02 UTC+2, Arno Welzel wrote: >> On 20.09.20 11:42, Julio Di Egidio wrote: >>> On Sunday, 20 September 2020 11:26:27 UTC+2, Arno Welzel wrote: >>>> Andrew Poulos: >>> >>>>> In index.js I have: import { ... >>>> >>>> Why do you import a module within another module? The idea is to have a >>>> script and one or more modules - but not modules importing other modules. >>>> >>>> Also see: >>>> >>>> >>> >>> What are you even talking about? >>> >>> >>> >>> Notice that only a module can import from a module... >> >> I stand corrected. Of course you're right. Also see: >> >> > > Why should anyone see yet another example, and one about > just using modules, which, as already pointed out, is not > even the question that was asked? -- Never mind. > > *Plonk* You don't even know, what "*Plonk*" means, do you? -- Arno Welzel https://arnowelzel.de