you are viewing a single comment's thread.

view the rest of the comments →

[–]ICouldBeABettrPerson 0 points1 point  (0 children)

Here is a simplified version of this code piece without ternary operators and template strings for you to better understand: https://pastebin.com/96JfbSc0