How can I replace an -
in a list with for example 5 member in javascript randomly?
const words = ['book', 'laptop', 'pencil', 'keyboard', 'mouse']
example : b-ok
or p-nc-l
or m--se
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
How can I replace an -
in a list with for example 5 member in javascript randomly?
const words = ['book', 'laptop', 'pencil', 'keyboard', 'mouse']
example : b-ok
or p-nc-l
or m--se