simpleCounter function

int simpleCounter(
  1. int index
)

Implementation

int simpleCounter(int index) => index + 1;