testetestestset
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
Homebrew build logs for mongodb/brew/mongodb-community on macOS 12.5 | |
Build date: 2022-09-20 12:46:28 |
testetestestset
testetestestset
testetestestset
testetestestset
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
Week 1, Day 2. | |
https://github.com/sf-wdi-18/control_flowvar | |
fname = prompt("What's your first name?"); | |
window.alert(fname); | |
function met () { | |
var metyet = prompt("Have we met before? YES or NO").toUpperCase(); |
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
Week 1, Day 2. | |
https://github.com/sf-wdi-18/control_flowvar | |
fname = prompt("What's your first name?"); | |
window.alert(fname); | |
function met () { | |
var metyet = prompt("Have we met before? YES or NO").toUpperCase(); |
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
var swap = function (arr, indexOne, indexTwo) { | |
// swap values | |
var holder1=arr[indexOne]; | |
var holder2=arr[indexTwo]; | |
arr[indexTwo]=holder1; | |
arr[indexOne]=holder2; | |
return arr; | |
}; | |
swap([1,2,3,4,5], 2,4) |
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
//Write a function to swap two values at two different indicies in an array. | |
var swap = function (arr, indexOne, indexTwo) { | |
// swap values | |
var indexHolder = arr[indexOne]; | |
arr[indexOne] = arr[indexTwo]; | |
arr[indexTwo] = arr[indexHolder]; | |
return arr; | |
}; |
NewerOlder