Variable creation


let left = i + 1
let right = nums.length - 1

can be written as

let left i + 1, right = nums.length - 1

How can we init 3 variables in a concise way?

let left = 0,
	right = 2,
	sum = 5;