Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Libraries/vendor/core/merge.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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;
Expand Down