Typescript Find Array Element By Element Subtraction