I'm upgrading a multiplatform project to 1.2, and ...
# multiplatform
k
I'm upgrading a multiplatform project to 1.2, and I'm getting the following warning when trying to use `kotlin.js.Math.random()`:
'Math' is deprecated. Use top-level functions from kotlin.math package instead.
. This seems to imply there is a better source of cross-platform randomness, but I'm not finding anything in
kotlin.math.*
. Am I missing something, or is it a erroneous warning?