- Notifications
You must be signed in to change notification settings - Fork230
Objects#321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Objects#321
Changes fromall commits
Commits
Show all changes
34 commits Select commitHold shift + click to select a range
0189e27 Merge pull request #1 from javascript-tutorial/master
e96e72c Merge pull request #2 from javascript-tutorial/master
96d99aa Update
f152057 Update
42f7cc6 Update
a17a435 Update
f17b890 Update
0db6fe7 Update
c3aee22 Update
22a88dc Update
5228b7e Update 1-js/04-object-basics/01-object/2-hello-object/task.md
41da662 Update task.md
84181ea Update task.md
6fa85e8 Update solution.md
d5be7a6 Update 1-js/04-object-basics/01-object/8-multiply-numeric/_js.view/so…
a896cac Update article.md
c69573f Update article.md
2337f50 Update article.md
98ed40e Update 1-js/04-object-basics/01-object/article.md
127a18f Update 1-js/04-object-basics/01-object/article.md
216253d Update 1-js/04-object-basics/01-object/article.md
ecb9dc2 Update article.md
89c905b Update 1-js/04-object-basics/01-object/article.md
3965ce2 Update 1-js/04-object-basics/01-object/article.md
bbe7591 Update article.md
87b5292 Update article.md
3070aa6 Update
59c64ae Update 1-js/04-object-basics/01-object/article.md
5ab2bda Update 1-js/04-object-basics/01-object/article.md
6ee7129 Update 1-js/04-object-basics/01-object/article.md
07f7321 Update 1-js/04-object-basics/01-object/article.md
2609768 Update 1-js/04-object-basics/01-object/article.md
31ea37c Update 1-js/04-object-basics/01-object/article.md
0bbfc4a Apply suggestions from code review
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
15 changes: 7 additions & 8 deletions1-js/04-object-basics/01-object/2-hello-object/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion1-js/04-object-basics/01-object/3-is-empty/_js.view/solution.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions1-js/04-object-basics/01-object/3-is-empty/_js.view/test.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion1-js/04-object-basics/01-object/3-is-empty/solution.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| Solo crea un bucle sobre el objeto y, si hay al menos una propiedad, devuelve `false` inmediatamente. |
8 changes: 4 additions & 4 deletions1-js/04-object-basics/01-object/3-is-empty/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions1-js/04-object-basics/01-object/5-sum-object/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -2,9 +2,9 @@ importance: 5 | ||
| --- | ||
| #Suma de propiedades de un objeto | ||
maksumi marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| Tenemos un objeto que almacena los salarios de nuestro equipo: | ||
| ```js | ||
| let salaries = { | ||
| @@ -14,6 +14,6 @@ let salaries = { | ||
| } | ||
| ``` | ||
| Escribe el código para sumar todos los salarios y almacenarl el resultado en lavariable `sum`.En el ejemplo de arriba nos debería dar `390`. | ||
| Si `salaries`está vacio entonces el resultado será `0`. | ||
7 changes: 3 additions & 4 deletions1-js/04-object-basics/01-object/8-multiply-numeric/_js.view/source.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,16 @@ | ||
| let menu = { | ||
| width: 200, | ||
| height: 300, | ||
| title: "Mi menú" | ||
| }; | ||
| function multiplyNumeric(obj) { | ||
| /*tu código */ | ||
| } | ||
| multiplyNumeric(menu); | ||
| alert( "ancho del menú=" + menu.width + " alto=" + menu.height + " título=" + menu.title ); |
8 changes: 4 additions & 4 deletions1-js/04-object-basics/01-object/8-multiply-numeric/_js.view/test.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions1-js/04-object-basics/01-object/8-multiply-numeric/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.