my script web name generator computer science assignment help

Need the javascript file

Create a program which accepts the name of her significant other and uses that name to derive different 12 ship names through JavaScript string operations. (use charAt, indexOf, substring, trim, replace, toUpperCase, toLowerCase) Store the names into an array and write them to the page as a list