Length 8, huh? I only count six characters: "🌿", "4", "G", "o", "2", and "🛏". Of course, JavaScript counts the first and last as two each.
The character set was determined as: 26 upper case letters, 26 lower case letters, 10 digits, and 160 characters from outside printable ASCII (i.e. characters 0x00 through 0x1f inclusive, and 0x7f and 0xff inclusive). But 🛏 for example, is represented by the two characters 0xd83d and 0xdecf, both obviously outside those ranges. The program should have counted the length as ten characters, for an entropy of 47.9 bits.
What's also odd is that the code reckons that [font=monospace]`~-_=+[{]}|;:'",<.>/?[/font] contains 20 characters.
It should go without saying that my real passwords tend to be a bit longer (the password I use for this site is over 20 characters).