diff --git a/Libraries/vendor/core/merge.js b/Libraries/vendor/core/merge.js index c9604a42a852bd..7dee5a09679230 100644 --- a/Libraries/vendor/core/merge.js +++ b/Libraries/vendor/core/merge.js @@ -7,7 +7,7 @@ "use strict"; -var mergeInto = require('mergeInto'); +const mergeInto = require('mergeInto'); /** * Shallow merges two structures into a return value, without mutating either. @@ -16,8 +16,8 @@ var mergeInto = require('mergeInto'); * @param {?object} two Optional object with properties to merge from. * @return {object} The shallow extension of one by two. */ -var merge = function(one, two) { - var result = {}; +const merge = function(one, two) { + const result = {}; mergeInto(result, one); mergeInto(result, two); return result;