JSFiddle - React, Tailwind, and code Playground

by salt

JavaScript

var nom="you a".split(" ").map(Number).filter(Boolean);
console.log(nom)