Skip to content

Commit 0e4a7c7

Browse files
Update 1-js/04-object-basics/06-constructor-new/article.md
Co-authored-by: Carlos Ortiz Gutiérrez <56600925+cortizg@users.noreply.github.com>
1 parent 381668b commit 0e4a7c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • 1-js/04-object-basics/06-constructor-new

1-js/04-object-basics/06-constructor-new/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ También podemos realizar ambas llamadas `new` y regular para que realicen lo mi
116116
```js run
117117
function User(name) {
118118
if (!new.target) { // si me ejecutas sin new
119-
return new User(name); // ...Yo te agrego new por ti
119+
return new User(name); // ...Agregaré new por ti
120120
}
121121

122122
this.name = name;

0 commit comments

Comments
 (0)