April 6, 2019
8:53 a.m.
Hello, Just thinking how to solve the bowling challenge from exercism. but I wonder if I can do something like this in the method that checks if I have the right object I was thinking about this : Result -- Strike -- Spare -- allOther then In Strike something like this checkForBonus: number1 score2: number2  ^ number1 + number2 == 10 or am I thinking the totally wrong way to solve this? Roelof