Secret message: If you love my tools, then I love you, too! Use coupon code TOOLLING to get a discount at my company. Browserling itself is an online cross-browser testing service powered by alien technology. Behind the scenes, it's actually powered by our web developer tools that are used by millions of people every month. If you are looking to name your character in Star Wars: The Old Republic or in any other roleplaying game, you can use my Name Generators to generate names. This random name generator was created by me and my team at Browserling. The code that does it looks like this: randomNames.join(separator). All randomly generated names are pushed into the randomNames array, and when it is filled, the program joins all the names into one string and outputs it with the desired separator character. Also, if necessary, the program can convert the names to lowercase and remove spaces from the names. If you want to display just the name initials, the program additionally calls the function maleNames.slice(0, 1), which prints out only the first letter of the name and optionally adds a dot after it. To pick a random male name from the maleNames array, it uses the expression maleNames}, the same code is used for femaleNames and lastNames. The generation of names happens in a for loop that stops when the array randomNames gets filled with the required number of names (this number is the count value in the options). For example, if the letter "G" is specified as the starting name letter, then the program filters the array of all names and returns a smaller array with only the matching names, such as. There's also an option that lets you generate just the names you're interested in. It generates random male and female names using three huge pre-generated arrays containing the most popular maleNames, femaleNames, and lastNames. This random name generator works entirely in your browser and is written in JavaScript. How Does This Random Name Generator Work?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |