Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // single
- export default a;
- // object
- export default {
- count () {
- return 'nooo';
- },
- increase (a) {
- return a + 1;
- },
- decrease (a) {
- return a - 1;
- }
- };
- // function
- export default function(a) {
- return a;
- }
- // variable
- const c = 'Awesome variable';
- export default c;
Add Comment
Please, Sign In to add comment