next
method that returns each value of the array when .next
is called.
nextIterator
and sum the values.
next
method that returns each value of a set when .next is called
next
method that returns an array with two elements (where the first element is the index and the second is the value at that index) when .next
is called.
.next
method (hint: use regex!)
Words
. Hint: research Symbol.iterator!
function
that walks through an array and returns the element concatenated with the string "was found after index x", where x is the previous index. console.log
"hello there", or "gibberish", every three seconds depending on if the word passed into the function
is 'english'. createConversation
once.
async/await
to console.log
a sentence comprised of a noun and verb in which the non async function takes in a noun, concatenates it with a hard coded verb and returns it to the async function to be console.logged
after a duration of 3 seconds. Call the async function only once, feeding it a noun to make this happen.