Function examples

function examples