Contrary to expectations, this article does *not* explain how to generate a QR Code with Node.js. It just points out that there's an npm package that generates QR Codes, and doesn't even bother to provide a link to the repo:
https://github.com/soldair/node-qrcode
Not a single line of JavaScript has been used in the article.
General rules for posting
* English content only
Edit: I see there's an English version too - sorry for the downvote, I can't remove it now. Next time link the English version straight away.
Rule:
* Edit titles: only article title, no blog name, no period at the end
The actual title is "Jest Mock Extended - Writing Typescript Friendly Tests". Don't be click-baity.
> Using the split() method
> let characters = message.split('');
> console.log(characters.length);
> Using the slice() method
> let characters = message.slice();
> console.log(characters.length);
Is this a joke? Or just a way to collect Medium reactions?