angular/angular.js — pull request #8735 by FuzzySockets (2014-08-22 20:40:53+00:00)
Title: chore(shallowCopy): ensure primitives return the src argument

var x = 1,
y = 2;

y = shallowCopy(x, y);
console.log(y);

Prior to this fix, y would return 2 rather than 1.