Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lösungen flow-control, fibonacci, objects #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

heusser4git
Copy link

No description provided.

let replace = ['be','ce','de','äf','ge','ha','jot','äl','äm','än','pe','qu','äs','te','vau','we','ix','ypsilon','zät','BE','CE','DE','ÄF','GE','HA','JOT','ÄL','ÄM','ÄN','PE','QU','ÄS','TE','VAU','WE','IT','YPSILON','ZÄT'];
let res = '';
for (const zeichen of zeichenkette) {
if(search.indexOf(zeichen) >= 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

die includes Methode wäre eine knackiger alternative.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Danke. Habe Zeile 301 mit includes umgesetzt.
Wo genau siehst du den Vorteil?

@@ -0,0 +1,35 @@
// 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

du weisst, dass das nicht aufgabe war?
nice hast du es aber trotzdem angeschaut :)

@@ -0,0 +1,41 @@

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

das war auch nicht aufgabe. da hast du schon vorgearbeitet ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants