Gets the value requested or undefined if it doesn't exist