Spread syntax and other ES6 syntax are not available in MediaWiki: see
T75714 <https://phabricator.wikimedia.org/T75714>.

Am Mi., 18. Dez. 2019 um 11:39 Uhr schrieb Egbe Eugene <
agboreug...@gmail.com>:

> Hi All,
>
> I am using spread syntax on a array in javascript and it works fine on
> command line but when I paste the code in a MW js file, I get the
> error *'JavaScript
> parse error: Parse error: Missing ) in parenthetical' *on the line where I
> used the where I used the spread syntax. Please I need some help on this
> because I don't know how to go about it. Thanks,
>
> --
> Eugene
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l



-- 
Lucas Werkmeister (he/er)
Full Stack Developer

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
https://wikimedia.de

Imagine a world in which every single human being can freely share in the
sum of all knowledge. Help us to achieve our vision!
https://spenden.wikimedia.de

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/029/42207.
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to