Answers for "list comprehension javascript"

0

list comprehension javascript

var str =  "1234-5";
var ignore = "-";

console.log([for (i of str) if (!ignore.includes(i)) i]);
Posted by: Guest on August-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language