re: ELI5: Why use a function declaration, expression, or an IIFE in JavaScript? VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

Hey, I just want to point out that you can do the same with:

const faces = "😀😃😄".match(/.{2}/g);

😎

code of conduct - report abuse