Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #38245

Re: Web midiAPI get name of sending device

Newsgroups comp.lang.javascript
Subject Re: Web midiAPI get name of sending device
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References (7 earlier) <6ec224ec-ec60-4037-80dd-09fdb9d38f88@googlegroups.com> <8b7ac35b-b27c-4d4b-b8ed-966a92156a48@googlegroups.com> <c5c8bb56-e20d-4af8-9384-64d4d9982fb1@googlegroups.com> <63e004b7-7786-4b69-bb5d-83e2793b8030@googlegroups.com> <XnsAB7F88E813F25eejj99@194.109.6.166>
Date 2020-03-13 13:34 +0100
Message-ID <XnsAB7F8A0433807eejj99@194.109.6.166> (permalink)

Show all headers | View raw


"Evertjan." <exxjxw.hannivoort@inter.nl.net> wrote on 13 Mar 2020 in 
comp.lang.javascript:

> <jonas.thornvall@gmail.com> wrote on 13 Mar 2020 in comp.lang.javascript: 
>> So in your line above data, timeStamp, target are reserved words 
>> or created vars for holding the "three attributes?
> 
> let {data, timeStamp, target} = midiMessageEvent;
> 
> is an equivalent of:
> 
> let timeStamp = midiMessageEvent.timeStamp;
> let data = midiMessageEvent.data;
> let target = midiMessageEvent.target;

Or:

let {data, timeStamp, target} = midiMessageEvent;

is shorthand for:

let {data: data, timeStamp: timeStamp, target: target} = midiMessageEvent;




-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-10 00:39 -0700
  Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-10 00:41 -0700
  Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-10 15:21 -0700
    Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-10 15:43 -0700
      Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-10 17:15 -0700
        Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-11 14:32 -0700
          Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-11 15:52 -0700
            Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-12 05:04 -0700
            Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-12 05:21 -0700
            Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-12 05:30 -0700
              Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-12 06:32 -0700
              Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-12 12:16 -0700
                Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-12 12:55 -0700
                Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-12 21:11 -0700
                Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-13 02:16 -0700
                Re: Web midiAPI get name of sending device "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-03-13 13:27 +0100
                Re: Web midiAPI get name of sending device "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-03-13 13:34 +0100
                Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-13 12:47 -0700
    Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-11 03:35 -0700
      Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-11 03:44 -0700
        Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-11 05:21 -0700

csiph-web