Bump to v4.14.0.

This commit is contained in:
John-David Dalton
2016-07-24 09:52:22 -07:00
parent 6b3e0da93c
commit 51ed7e7707
231 changed files with 1136 additions and 820 deletions

View File

@@ -6,13 +6,14 @@ import baseToString from './_baseToString.js';
*
* @private
* @param {Function} operator The function to perform the operation.
* @param {number} [defaultValue] The value used for `undefined` arguments.
* @returns {Function} Returns the new mathematical operation function.
*/
function createMathOperation(operator) {
function createMathOperation(operator, defaultValue) {
return function(value, other) {
var result;
if (value === undefined && other === undefined) {
return 0;
return defaultValue;
}
if (value !== undefined) {
result = value;