/* Developers for the Forest of Function Expressions Theme Park have created a function declaration named forestFright, but they’ve decided not to keep the function in memory.
Convert the function from a named function declaration to an anonymous function expression and assign it to a variable called runAway.
function forestFright() {
var toAlert = "";
for (var i = 0; i < 5; i++) {
Functions are first–class citizens in JS, meaning that they can be passed around like any other type of data, eg, variables. http://en.wikipedia.org/wiki/First-class_function
Declared functions build in memory immediately when the program loads.
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
.x-column { | |
float: left; | |
margin-right: 4% | |
} | |
.x-column.x-1-1 { | |
width: 100% | |
} |