Guest User

Untitled

a guest
Jul 19th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. // single
  2. export default a;
  3.  
  4. // object
  5. export default {
  6. count () {
  7. return 'nooo';
  8. },
  9. increase (a) {
  10. return a + 1;
  11. },
  12. decrease (a) {
  13. return a - 1;
  14. }
  15. };
  16.  
  17. // function
  18. export default function(a) {
  19. return a;
  20. }
  21.  
  22. // variable
  23. const c = 'Awesome variable';
  24. export default c;
Add Comment
Please, Sign In to add comment