Formation bonus issue

When I made a new formation it gave me this error. How would I fix this:
Script I am using: https://forums.rpgmakerweb.com/index.php?threads/formation-bonus.27146/
1633826108457.png
Hello!
Missing a comma:
Ruby:
FORMATION_BONUS = { 0 => {},
  1 => { :name => "One Liner", :slots => [3,4,5], :hp => 5,} #HERE
  2 => { :name => "Defence Guard", :slots => [1,2,5,8], :def => 8,}
}

Try it like this:
Ruby:
FORMATION_BONUS = { 0 => {},
  1 => { :name => "One Liner", :slots => [3,4,5], :hp => 5},
  2 => { :name => "Defence Guard", :slots => [1,2,5,8], :def => 8}
}

I don't quite understand it, but I believe that the absence of the comma causes the following to break the object that "PARENT".

Good luck!
The thing is that the comma placed right before the } symbol is allowed to be typed there but it is a bad habit. It would be easier to spot any missing comma after the brace if they didn't include one before that symbol. This is kind of important whenever you're dealing with nested hashes and you lack of scripting experience.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/formation-bonus-issue.141146/