nextcloud /
notes
| 1 | export default { |
||
|
0 ignored issues
–
show
|
|||
| 2 | methods: { |
||
| 3 | t, |
||
|
0 ignored issues
–
show
|
|||
| 4 | n, |
||
|
0 ignored issues
–
show
|
|||
| 5 | }, |
||
| 6 | } |
||
|
0 ignored issues
–
show
There should be a semicolon.
Requirement of semicolons purely is a coding style issue since JavaScript has specific rules about semicolons which are followed by all browsers. Further Readings: Loading history...
|
|||
| 7 |
Generally using ECMAScript 6 specific syntax is fine if you are sure that it is already supported by all engines which are supposed to run this code.
Further Reading: