Skip to content

Commit 11b7271

Browse files
Merge pull request ryanmcdermott#27 from connec/patch-1
Remove redundant object from Object.assign example
2 parents 52a9251 + 17a5f24 commit 11b7271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ var menuConfig = {
501501
}
502502

503503
function createMenu(config) {
504-
config = Object.assign({}, {
504+
config = Object.assign({
505505
title: 'Foo',
506506
body: 'Bar',
507507
buttonText: 'Baz',

0 commit comments

Comments
 (0)