Ox Security interview question

When passing data to a function, is it passed by ref or by value.