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

MD Pablo Fuentes - Mercedes#101

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
meegido wants to merge1 commit intoironhack-labs:masterfrommeegido:master
Closed
Changes fromall commits
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
15 changes: 11 additions & 4 deletionsstarter-code/functions-and-arrays.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
// Find the maximum
function maxOfTwoNumbers (first, second) {

}
if (first > second) {
return first;
} else {
return second;
}

var largest = maxOfTwoNumbers(2, 6);
console.log(largest);

// Finding Longest Word
function findLongestWord (words) {

}
var max = "";
for (var i = 0 ; i < array.length; i++){
if (array[i].length > max.length){
max = array[i];
}
}

var words = [
"mystery",
Copy link
Contributor

Choose a reason for hiding this comment

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

Como dice nuestro Lead Teach Marc Pomar "Misterios No Existen En La Programación". Mucho animo!!!

meegido reacted with laugh emoji
Copy link
Author

Choose a reason for hiding this comment

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

Gracias! En qué sentido lo decís? Por cómo está hecho el código o porque lo continuemos?

Copy link
Contributor

Choose a reason for hiding this comment

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

Es una coña ¡Ja ja ja ja! Todo estupewonderful

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp