fix functions page
add typeof example
array basics