Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #38876
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Arno Welzel <usenet@arnowelzel.de> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Using a single module |
| Date | Sat, 26 Sep 2020 23:36:14 +0200 |
| Lines | 50 |
| Message-ID | <ht9qidFsvb0U1@mid.individual.net> (permalink) |
| References | <67Wdnb4wtM6Kr_nCnZ2dnUU7-aPNnZ2d@westnet.com.au> <hsolhpF9ljhU1@mid.individual.net> <2f1bf4d2-d350-4da1-8bfa-3af3a0ea60d3o@googlegroups.com> <ht43lqFmtc4U1@mid.individual.net> <2d750160-fd2a-47fe-b1ba-3a1067e81622o@googlegroups.com> <ht47nhFno5tU1@mid.individual.net> <a95dff26-3c75-4386-af45-60a2187f153bo@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net 3v/YUD+wJgVzYIGwSE6bEA0RDVxzwD56JurbCIclXz/1qVFV4c |
| Cancel-Lock | sha1:53kPxZzJS62pR0dHSwoTlv9n8ic= |
| In-Reply-To | <a95dff26-3c75-4386-af45-60a2187f153bo@googlegroups.com> |
| Xref | csiph.com comp.lang.javascript:38876 |
Show key headers only | View raw
Julio Di Egidio:
> On Thursday, 24 September 2020 20:44:11 UTC+2, Arno Welzel wrote:
>> 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:
>>>>>>
>>>>>> <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules>
>>>>>
>>>>> What are you even talking about?
>>>>>
>>>>> <script type="module" src="main.js"></script>
>>>>>
>>>>> Notice that only a module can import from a module...
>>>>
>>>> I stand corrected. Of course you're right. Also see:
>>>>
>>>> <https://github.com/mdn/js-examples/tree/master/modules/basic-modules>
>>>
>>> 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?
>
> I do, it's you who are yet another example of
> Dunning-Kruger augmented by an absolute lack of
> integrity, intellectual and probably otherwise.
> Congratulations, idiot.
>
> *Plonk*
I think you are a good example for Dunning-Kruger.
--
Arno Welzel
https://arnowelzel.de
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Using a single module Andrew Poulos <ap_prog@hotmail.com> - 2020-09-18 14:05 +1000
Re: Using a single module Julio Di Egidio <julio@diegidio.name> - 2020-09-18 04:40 -0700
Re: Using a single module Andrew Poulos <ap_prog@hotmail.com> - 2020-09-20 15:27 +1000
Re: Using a single module Arno Welzel <usenet@arnowelzel.de> - 2020-09-20 11:27 +0200
Re: Using a single module Julio Di Egidio <julio@diegidio.name> - 2020-09-20 02:38 -0700
Re: Using a single module Julio Di Egidio <julio@diegidio.name> - 2020-09-20 02:51 -0700
Re: Using a single module "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-09-18 11:06 -0700
Re: Using a single module Andrew Poulos <ap_prog@hotmail.com> - 2020-09-20 15:27 +1000
Re: Using a single module Julio Di Egidio <julio@diegidio.name> - 2020-09-20 02:46 -0700
Re: Using a single module Arno Welzel <usenet@arnowelzel.de> - 2020-09-20 11:26 +0200
Re: Using a single module Julio Di Egidio <julio@diegidio.name> - 2020-09-20 02:42 -0700
Re: Using a single module Arno Welzel <usenet@arnowelzel.de> - 2020-09-24 19:34 +0200
Re: Using a single module Julio Di Egidio <julio@diegidio.name> - 2020-09-24 11:16 -0700
Re: Using a single module Arno Welzel <usenet@arnowelzel.de> - 2020-09-24 20:44 +0200
Re: Using a single module Julio Di Egidio <julio@diegidio.name> - 2020-09-24 11:59 -0700
Re: Using a single module Scott Sauyet <scott.sauyet@gmail.com> - 2020-09-24 19:55 -0700
Re: Using a single module Julio Di Egidio <julio@diegidio.name> - 2020-09-24 20:13 -0700
Re: Using a single module Arno Welzel <usenet@arnowelzel.de> - 2020-09-26 23:37 +0200
Re: Using a single module Scott Sauyet <scott.sauyet@gmail.com> - 2020-09-26 15:41 -0700
Re: Using a single module Jon Ribbens <jon+usenet@unequivocal.eu> - 2020-09-26 23:04 +0000
Re: Using a single module Arno Welzel <usenet@arnowelzel.de> - 2020-09-26 23:36 +0200
csiph-web