trailing_whitespace.js 503 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. let example = [
  2. 'FOO',
  3. 'BAR',
  4. // Comment
  5. ];
  6. foo({},
  7. // Comment
  8. );
  9. o = {
  10. state,
  11. // Comment
  12. };
  13. o = {
  14. state,
  15. // Comment
  16. };
  17. function supersupersupersuperLongF(
  18. supersupersupersuperLongA,
  19. supersupersupersuperLongB
  20. // Comment
  21. ) {
  22. a
  23. }
  24. function supersupersupersuperLongF(
  25. supersupersupersuperLongA,
  26. supersupersupersuperLongB,
  27. // Comment
  28. ) {
  29. a
  30. }
  31. this.getAttribute(function(s)
  32. /*string*/ {
  33. console.log()
  34. });
  35. this.getAttribute(function(s) /*string*/ {
  36. console.log()
  37. });