Skip to content

Instantly share code, notes, and snippets.

@andreybleme andreybleme/functional.js
Last active Nov 19, 2016

Embed
What would you like to do?
Exemplo de utilização do paradigma funcional em um filter do Vue 2.0.
computed: {
filteredThings () {
return this.things
.filter(contains(this.foo))
.sort(by(thing => thing.bar))
.slice(0, 10)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.