Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Replacing each char in string with an asterisk. Re: Replacing each char in string with an asterisk.

#113038
mmoustafa
Member

console.log(Array(word.length+1).join(“*”));