W3C home > Mailing lists > Public > public-geolocation@w3.org > August 2020

Re: [geolocation-api] Section 1: Editorial - possible syntax error (#53)

From: Reilly Grant via GitHub <sysbot+gh@w3.org>
Date: Mon, 10 Aug 2020 20:43:02 +0000
To: public-geolocation@w3.org
Message-ID: <issue_comment.created-671579852-1597092180-sysbot+gh@w3.org>
Trailing commas are not syntax errors in Javascript. Leaving a trailing comma in a multi-line object literal makes it easier to add new keys without modifying nearby lines.

-- 
GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/geolocation-api/issues/53#issuecomment-671579852 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 10 August 2020 20:43:03 UTC

This archive was generated by hypermail 2.4.0 : Monday, 10 August 2020 20:43:12 UTC