Skip to content

Commit ab03c68

Browse files
authored
Merge pull request #321 from IvanBodnarash/patch-1
Update README.md
2 parents 2ab554a + 7ce9553 commit ab03c68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,10 +623,10 @@
623623
this.z = z;
624624
}
625625
// Create a new instance using function prototype.
626-
var newInstance = Object.create(func.prototype)
626+
var newInstance = Object.create(func.prototype);
627627
628628
// Call the function
629-
var result = func.call(newInstance, 1, 2, 3),
629+
var result = func.call(newInstance, 1, 2, 3);
630630
631631
// If the result is a non-null object then use it otherwise just use the new instance.
632632
console.log(result && typeof result === 'object' ? result : newInstance);

0 commit comments

Comments
 (0)