Download-6.Write a program with a user-defined function with string as a parameter You have to wait 20 seconds. File Ready to Download JavaScript needs to be enabled in order to be able to download.