Sum Double Warm Up

Write a function where given two int values, it will return their sum. Unless the two values are the same, then return double their sum.

function sumDouble(a, b){

}

sumDouble(1, 2) // 3
sumDouble(3, 2) // 5
sumDouble(2, 2) // 8