23.04.2013 Views

javascript

javascript

javascript

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 3 ■ OPERATORS<br />

68<br />

// 1.25<br />

-- dough.pastryFlour[0];<br />

// .75<br />

dough.saigonCinnamon[0];<br />

// 2<br />

dough.mincedLemonZest[0];<br />

// 3<br />

dough.wildBlueberries[0];<br />

// .25<br />

dough.pastryFlour[0];<br />

// .75<br />

Figure 3–7. The return value for ++ differs in the prefix and postfix position.<br />

The differing return values of ++ and -- in the prefix and postfix positions provide additional<br />

flexibility in limiting the number of roundabouts JavaScript takes of a for, while, or do while loop. Those<br />

are covered in Chapter 4.<br />

Testing for Equality<br />

Scones are particularly fast to make—maybe 20 minutes from mixing the dough to putting the scones on<br />

the cooling rack. Hazelnut cream scones are among my favorites. I make those with either Organic Valley<br />

heavy whipping cream or half & half. Those are deliciously sweet and creamy because of Organic Valley<br />

pasturing their cows rather than feeding them corn.<br />

Note that for cream scones the leavening bubbles derive from soda reacting with cream of tartar.<br />

That is to say, heavy whipping cream or half & half contain no lactic acid. Note that the ratio of soda tsp.<br />

to flour cups is 1:4 for scones compared to 1:2 for bread; we don’t want as much lift. Note too that the

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!