Randomly select from an array This challenge is rather simple:
You are given an array of positive (not including 0) integers, and have to select a random element from this array.
But here's the twist:
The probability of selecting an element is dependent on the value of the integer, meaning as the integer grows larger, the probability of it to get selected does too!
Example
You are given the array [4, 1, 5].
The probability of selecting 4 is equal to 4 divided by the sum of all elements in the array, in this case 4 / ( 4 + 1 + 5 ) = 4 / 10 = 40%.
The probability of selecting 1 is 1 / 10 or 10%.
Input
An array of positive integers.
Output
Return the selected integer if using a method, or directly print it to stdout.
Rules

This is code-golf so shortest code in bytes in any language wins.
Standard loopholes are forbidden.
Jelly, 3 bytes

x`X


Try it online!

Look 'ma, no Unicode!

Explanation:

x`X
 `  Make monad from dyad and use same left and right arguments
x   Repeat each element of the left argument (implicit) list its respective number of times in the right argument list
  X Random element