Typescript While Loop Continue Statement In C