1. const hero = {
    2. firstName: 'Florence',
    3. - lastName: 'Nightingale'
    4. + lastName: 'Nightingale',
    5. + inventorOf: ['coxcomb graph', 'modern nursing']
    6. }
    7. // good - git diff with trailing comma
    8. const hero = {
    9. lastName: 'Nightingale',
    10. }
    11. // bad
    12. const hero = {
    13. firstName: 'Dana',
    14. lastName: 'Scully'
    15. };
    16. const heroes = [
    17. 'Superman'
    18. // good
    19. const hero = {
    20. firstName: 'Dana',
    21. lastName: 'Scully',
    22. };
    23. const heroes = [
    24. 'Batman',
    25. ];