Note on function spaces with the topology of pointwise convergence