Dapatkan 2 digit pertama nomor JavaScript
const trial = "19.0.0.1"
console.log(trial.split(".").slice(0, 2).join("."))
// 19.0
VasteMonde
const trial = "19.0.0.1"
console.log(trial.split(".").slice(0, 2).join("."))
// 19.0