Skip to content

Updated examples to es6#26

Merged
jwagner merged 1 commit into
jwagner:mainfrom
amilajack:patch-1
Aug 25, 2021
Merged

Updated examples to es6#26
jwagner merged 1 commit into
jwagner:mainfrom
amilajack:patch-1

Conversation

@amilajack

Copy link
Copy Markdown

No description provided.

@jwagner

jwagner commented Jan 26, 2019

Copy link
Copy Markdown
Owner

Hi Amila,

I don't see the benefit in this change. Var works in both es5 and es6. The change makes the examples work for less people.

Changing the var to const can be done easily by people wishing to do so.

@jwagner jwagner changed the base branch from master to main August 25, 2021 09:19
@jwagner jwagner merged commit 439b64f into jwagner:main Aug 25, 2021
@jwagner

jwagner commented Aug 25, 2021

Copy link
Copy Markdown
Owner

Since the number of ES5 users should be fairly low by now I've updated the examples as you suggested in the most recent release now. Thanks @amilajack !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants