Skip to content

Conversation

7006
Copy link
Contributor

@7006 7006 commented Jul 24, 2020

rewrite recentHistory getter using negative index forstart argument of Array.prototype.slice

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice

rewrite `recentHistory` getter using negative index for`start` argument of Array.prototype.slice 

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice
@kiaking
Copy link
Member

kiaking commented Aug 4, 2020

Thanks for the PR! Nice, yeah this looks much cleaner 👍

@kiaking kiaking merged commit 4b038d7 into vuejs:dev Aug 4, 2020
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