How to check if character isn't supported by the user's browser in JavaScript?
问题 I'm building a site that uses a lot of emojis. Kind of like the one's you're used to seeing when texting, or on Instagram, Facebook, etc. Examples: 😄 😘 😂 Of course, not all of the emojis are supported by all the browsers out there. When they aren't then they show up as a square with a question mark in the middle like so: Is there anyway in JavaScript that you can tell if a character is supported by the browser, or if it'll show up like the question mark above? 回答1: Browsers do not "support"