Finds the missing letter in the passed letter range and returns it. If all letters are present in the range, returns undefined.
A script by V.
The DNA strand is missing the pairing element. Each character gets its pair, and returns to the results as a 2d array. Base pairs are a pair of AT and CG. For example, for the input GCG, return [["G", "C"], ["C","G"],["G", "C"]] The character and its pair are paired up in an array, and all the arrays are grouped into one encapsulating array.
A script by V.
Performs a search and replace on the sentence using the arguments provided and returns the new sentence. First argument is the sentence to perform the search and replace on. Second argument is the word that you will be replacing (before). Third argument is what you will be replacing the second argument with (after). NOTE: Preserves the case of the original word when you are replacing it. For example if you mean to replace the word "Book" with the word "dog", it will be replaced as "Dog".
A script by V.
A function that looks through an array of objects (first argument) and returns an array of all objects that have matching property and value pairs (second argument). Each property and value pair of the source object has to be present in the object from the collection if it is to be included in the returned array. For example, if the first argument is [{ first: "Romeo", last: "Montague" }, { first: "Mercutio", last: null }, { first: "Tybalt", last: "Capulet" }], and the second argument is { last: "Capulet" }, then function returns the third object from the array (the first argument), because it contains the property and it's value, that was passed on as the second argument.
A script by V.