Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WEB-MAD DE] Lali Osorio#2436

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

Closed

Conversation

laliiosorio
Copy link

Duda infinita del ejercicio Iteration#6: Find elements, me funcionaba perfecto cuando la palabra existia me salia true y cuando no undifined fue colocarle el else false y nunca mas volvio a ser true solo con index 0. Al final le di tantas vueltas que ni sé cual versión quedo jajajajaj Vi algo de falsy pero ni idea. también la coloque en una variable para colocar un solo return pero se quedaba el false para siempre. No sé me ocurrieron otras maneras. Anyways, ya me pegaré con los BONUS a ver qué explota!!!

PD: Mi PC peto cuando le di npm run test:watch. Me toca npm run test y ya para que no colapse.

PD2: Me vine arriba con este pull request! Jajajaja 🤯

@ta-web-mad
Copy link
Contributor

Hola Lali!
Venirse arriba con las pull request esta genial para poder ayudarte así que tú muy arriba siempre!
Lo del test:watch...no sé como ayudarte, podríamos mirarlo pero va a ser tema del ordenador, lo vemos luego si quieres.
En cuanto a tu duda con la iteración 6:
Veo que te quedaste probando pero la idea era buena:
Screenshot from 2021-06-04 12-25-19
Lo que pasa que te liaste con el bucle y con la solución que habías encontrado no lo necesitabas:
Screenshot from 2021-06-04 12-25-47
Simplemente con el includes, si le devuelves el true o false dependiendo de si el array contiene la palabra o no ya estaria! CASI!
Buen trabajo! Javascript no se te da mal como tú decias!

@stale
Copy link

stalebot commentedJul 8, 2021

This pull request has been automatically marked as stale because it didn't have any recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stalestalebot added the stale labelJul 8, 2021
@stale
Copy link

stalebot commentedJul 10, 2021

This pull request is closed. Thank you.

@stalestalebot closed thisJul 10, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@laliiosorio@ta-web-mad

[8]ページ先頭

©2009-2025 Movatter.jp