COMP5347 - W3 - Tutorial - JavaScript Notes-Review
COMP5347 - W3 - Tutorial - JavaScript Notes-Review
Development
• Pass-by-reference
• The caller gives the called function direct access to the caller’s data and allows it to modify
the data if it so chooses
• Can improve performance, but it can weaken security. Why?
• All objects are passed to functions by reference