{"ScriptPreparationCode":"var wikiEntry = \u0027The edible fig is one of the first plants that was cultivated by humans. Nine subfossil figs of a parthenocarpic (and therefore sterile) type dating to about 9400\u20139200 BC were found in the early Neolithic village Gilgal I (in the Jordan Valley, 13 km north of Jericho). The find predates the domestication of wheat, barley, and legumes, and may thus be the first known instance of agriculture. It is proposed that this sterile but desirable type was planted and cultivated intentionally, one thousand years before the next crops were domesticated (wheat and rye).[14] Figs were widespread in ancient Greece, and their cultivation was described by both Aristotle and Theophrastus. Aristotle noted that as in animal sexes, figs have individuals of two kinds, one (the cultivated fig) that bears fruit, and one (the wild caprifig) that assists the other to bear fruit. Further, Aristotle recorded that the fruits of the wild fig contain psenes (fig wasps); these begin life as larvae, and the adult psen splits its skin (pupa) and flies out of the fig to find and enter a cultivated fig, saving it from dropping. Theophrastus observed that just as date palms have male and female flowers, and that farmers (from the East) help by scattering dust from the male on to the female, and as a male fish releases his milt over the females eggs, so Greek farmers tie wild figs to cultivated trees. They do not say directly that figs reproduce sexually, however.[15] Figs were also a common food source for the Romans. Cato the Elder, in his c. 160 BC De Agri Cultura, lists several strains of figs grown at the time he wrote his handbook: the Mariscan, African, Herculanean, Saguntine, and the black Tellanian (De agri cultura, ch. 8). The fruits were used, among other things, to fatten geese for the production of a precursor of foie gras. It was cultivated from Afghanistan to Portugal, also grown in Pithoragarh in the Kumaon hills of India. From the 15th century onwards, it was grown in areas including Northern Europe and the New World.[3] In the 16th century, Cardinal Reginald Pole introduced fig trees to Lambeth Palace in London. In 1769, Spanish missionaries led by Junipero Serra brought the first figs to California. The Mission variety, which they cultivated, is still popular.[16] The fact that it is parthenocarpic (self-pollinating) made it an ideal cultivar for introduction. The Kadota cultivar is even older, being mentioned by the Roman naturalist Pliny in the 1st century A.D.[17] Introduction to California[edit] As Californias population grew, especially after the gold rush, a number of other varieties were brought to California by individuals and nurserymen from the East Coast of the United States and from France and England, and by the end of the 19th century, it became apparent that California had potential for being a great fig-producing state with its Mediterranean climate and a latitude of 38 degrees, lining San Francisco up with Smyrna, Turkey. G. P. Rixford first brought true Smyrna figs to California in 1880. The effort was amplified by the San Francisco Bulletin Company, which sought to bring new varieties from Smyrna to California and distribute the cuttings to the Bulletins subscribers, with the expectation that the subscribers would report back which varieties were most fit for California or regions of California. In 1881, some 14,000 cuttings were shipped in good condition to California and distributed to Bulletin Company subscribers as promised. However, not one of the trees planted produced a single mature fruit.[3] George Roeding concluded this was due to the lack of pollination since the insect pollinator was not present in California.[16] After a couple of failed attempts, wild fig trees carrying fig wasps were successfully introduced to California on April 6, 1899 to allow for fruit production of Smyrna-type figs.[3][15] The most popular variety of Smyrna-type fig is Calimyrna, a name combining California and Smyrna. The variety itself, however, is not one produced through a breeding program, but it is from one of the cuttings brought to California in the latter part of the 19th century. It is identical to the Lob Injir variety that has been grown in Turkey for many centuries.[17]\u0027;\r\nvar testArray = wikiEntry.split(\u0027 \u0027);","TestCases":[{"Name":"forEach","Code":"testArray.forEach(function(object, index){\r\n\tconsole.log(object);\r\n});","IsDeferred":false},{"Name":"for loop","Code":"for(var i = 0, len = testArray.length; i \u003C len; \u002B\u002Bi) {\r\n console.log(testArray[i]);\r\n}","IsDeferred":false}]}