var frequency = "daily"; goes on the first line, console.log(frequency); goes on the second line.
var frequency = "daily";
console.log(frequency);