Previous example does not run as expected. Looping over array using by -1 will not actually loop over the array, which throws an undefine that has no prototype thus the code will fail.
Also parentheses around mixOf are needed otherwise DepperThought will extends DeepThought only.
Previous example does not run as expected. Looping over array using
by -1
will not actually loop over the array, which throws an undefine that has no prototype thus the code will fail.Also parentheses around mixOf are needed otherwise DepperThought will extends DeepThought only.