There are a number of emojis that are not just stand-alone Unicode characters. They are actually a combination of two or more other emojis. e.g.
console.log([...'๐จโ๐จโ๐งโ๐ง']); // ๐จ + ๐จ+ ๐ง+ ๐ง
console.log([...'๐ง๐ฟโโค๏ธโ๐โ๐ง๐พ']); // ๐ง + โค + ๐ + ๐ง
console.log([...'๐งโ๐']); // ๐ง + ๐
What I would like to know, is given the constituent parts, is it possible to go the other way and combine emojis so that you can generate the combined symbol? Really the opposite of what the Spread Operator is doing here.
e.g. Is it possible to generate ๐จโ๐จโ๐งโ๐ง from ๐จ,๐จ,๐ง,๐ง
I've tried I few different ideas but nothing seems to work - mainly just getting SyntaxErrors.
First link in the google https://www.bram.us/2016/08/27/fun-with-javascript-and-emoji/
["๐จ", "โ", "๐จ", "โ", "๐ง", "โ", "๐ง"].reduce((prev, next) => prev + next)
It is really easy to achieve