Generate random number between multiple numbers and ratios in JavaScript

Is there a way to generate a random number in a specified ratio with JavaScript?

For example:

data:

      {
        "min": "80",
        "max": "100",
        "ratio": "0.15"
      },
      {
        "min": "100",
        "max": "130",
        "ratio": "0.75"
      },
      {
        "min": "130",
        "max": "142",
        "ratio": "0.1"
      }

Suppose make 10 data

result:

89
112
103
126
141
123
129
103
109
117