JavaScript:实现是否为 Pythagoreantriplet 毕氏三元数组算法
/*
a^2 + b^2 = c^2
For example, 32 + 42 = 9 + 16 = 25 = 52.
There exists exactly one Pythagorean triplet for which a + b + c = 1000.
Find the product abc.
*/
const isPythagoreanTriplet = (a, b, c) => Math.pow