Skip to content

Commit e086c46

Browse files
phananchrisvfritz
authored andcommitted
Remove unnecessary boolean check (#347)
1 parent 2fcdb1b commit e086c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ new Vue({
8585
...
8686
filters: {
8787
capitalize: function (value) {
88-
if (!value && value !== 0) return ''
88+
if (!value) return ''
8989
value = value.toString()
9090
return value.charAt(0).toUpperCase() + value.slice(1)
9191
}

0 commit comments

Comments
 (0)