Add example for function.repeat()