Skip to content

Commit 381668b

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 993dea0 commit 381668b

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
@@ -115,7 +115,7 @@ También podemos realizar ambas llamadas `new` y regular para que realicen lo mi
115115

116116
```js run
117117
function User(name) {
118-
if (!new.target) { // isi me ejecutas sin new
118+
if (!new.target) { // si me ejecutas sin new
119119
return new User(name); // ...Yo te agrego new por ti
120120
}
121121

0 commit comments

Comments
 (0)