• + 1 comment

    Nice. Just wondering: why not initialize validX as an integer and just increment it instead of using the array length?