Following random number and current time generation in Scala like below:
val randomNumber: Long = (0xffffffffL * Math.random()).toLong
val time: Long = Calendar.getInstance().getTimeInMillis() / 1000
How one would convert it to Express Node JS version?
Aucun commentaire:
Enregistrer un commentaire