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 < agboreugene@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