Is there an easier way to do this:
let layer_id = "55-16-A1"
console.log(layer_id.split("-").slice(0,2).join("-"));
// I want: 55-16
I want to get first two parts of id but I only can do it by doing three methods on it which is not an elegant way I think... is there any better way to do this?