One best way of remembering whither call by value or call by reference is based on data type. Primitive data type parameter is called by value (number, string, boolean, null )and Reference type data are call by reference (array, object, function) unless I do something explicitely. I always remember this