Ad
  • Custom User Avatar

    The g after the regex is specifies that you want the pattern to match globally.
    The ellipsis is the spread operator where you can spread a string into an array of characters
    And for the last one, I do not know as I have not looked at the source code.

    Hope this helps you. :)