Range 2 Concatenated String [js]

less than 1 minute read

[source]var k=”1000000-1000008”.split(“-“);
console.log(Array(k[1]-k[0]+1).fill(0).map(function(v,i) {return i+parseInt(k[0]);}).join(“_”)); [/source]

Categories: Uncategorized

Updated: