Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update 1-js/04-object-basics/06-constructor-new/article.md
Co-authored-by: Carlos Ortiz Gutiérrez <56600925+cortizg@users.noreply.github.com>
  • Loading branch information
EzequielCaste and cortizg authored Jun 28, 2020
commit 381668b93bcc71c8786894eba53149721dfbc200
2 changes: 1 addition & 1 deletion 1-js/04-object-basics/06-constructor-new/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ También podemos realizar ambas llamadas `new` y regular para que realicen lo mi

```js run
function User(name) {
if (!new.target) { // isi me ejecutas sin new
if (!new.target) { // si me ejecutas sin new
return new User(name); // ...Yo te agrego new por ti
Comment thread
EzequielCaste marked this conversation as resolved.
Outdated
}

Expand Down