How do I make Math.random pick the same amount of user input value from 4 different arrays?

Good evening smart people!

I am new to programming and I need your help! I got stuck at this code challenge and would love some input on how I can go about this. How do I make Math.random pick the same amount of user input value from 4 different arrays? I am pretty sure the math.random I wrote is wrong. I hit a wall. Thank you ahead for helping! I think this is how you would go about it; By combining the 4 arrays into one array and somehow make the method Math.random pick the random value of what the user input in a prompt. Thank you once again!

let array1 = [1, 2, 3];
let array2 = [A, B, C];
let array3 = [a, b, c];
let array4 = [%, @. ^];

let fourArray[array1, array2, array3, array4];

let dnumConfirm = confirm("Do you want numbers in your password?");
let capConfirm = confirm("Do you wantn capital letters in your password?");
let lowConfirm = confirm("Do you want lowercase letters in your password?");
let specialConfirm = confirm("Do you want special characters in your           password?");
let userInput = parseInt(prompt("How many capital letters would you like?"));
function random(userInput) {
if(dnumConfirm && capConfirm && lowConfirm && specialConfirm) {
     const randomValue = Math.floor(Math.random * Math.floor(userInput(fourArray))); 
     return randomValue; 

49 thoughts on “How do I make Math.random pick the same amount of user input value from 4 different arrays?”

  1. hello my lovely stopforumspam member

    What are the Types of Loans in Ohio depending on the purpose
    Specific purpose payday loans in Ohio. Funds received in debt may be spent only for a specific purpose specified in the loan agreement.
    Non-purpose loan. The debtor may spend the money received at his discretion.
    Most popular specific purpose payday loans in Ohio are:

    House loan. The most common, of course, is a mortgage when the purchased property acts as collateral for a loan. Sometimes a youth loan is issued, with lighter conditions for debtors. Still quite common is a housing loan that does not imply purchased housing in the form of collateral.
    Car loan – payday loans in Ohio to a car or similar vehicle. The key is often the purchased goods, making the terms of the loan better. Also, loan conditions are improved: car insurance, life and health insurance of the borrower, and receiving a salary to the account of the creditor bank.
    Land loan. To purchase a plot for construction or agricultural activities.
    Consumer. For purchases in modern supermarkets, equipment stores, you can take a personal loan right at the point of sale. Often, specialists located there can contact the bank and get a regular or fast payday loans. Borrowed funds automatically pay for the goods, and the consultant explains when and how to re-pay the debt.
    Educational loan. It is issued to students, as well as to applicants who have passed the competition, to pay for tuition at universities, colleges, etc.
    Broker loan. For the circulation of securities, payday loans in Ohio are issued to an exchange broker, se-curities are purchased securities.
    Others. Objectives not related to those listed, but agreed and approved by the creditor.