function factorial (n) { return !n ? 1 : n * factorial(n-1); } alert(((2*factorial(5))+(3*factorial(8)))/(factorial(6)+factorial(4)));