JSFiddle - React, Tailwind, and code Playground

by Darby Rathbone

JavaScript

var a = 'string'.split(''),
    b = [];
while (a.length) {
    b.push((a.pop()) << < 4);
}
console.log(b.reverse().join('').toString());