Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.javascript Subject: Re: Found anb example in a bok but foreachIn does not exist Date: Wed, 31 Dec 2014 19:56:23 +0100 Organization: solani.org Lines: 12 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1420052175 15847 eJwNyNEVADEEBMCWJFiUc9bTfwm5+RxXHDAMDvP1hYhuazHB2a8zitvnijqYEW1Dq/sHegT6AB4HEM4= (31 Dec 2014 18:56:15 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Wed, 31 Dec 2014 18:56:15 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 X-User-ID: eJwNyMEBwCAIA8CVGiEBx8Ei+4/Q3vNogt5wUc7hrHSb04B3UZV2/8JpYdfaUbhhyGjaSFvPBxXnEHs= In-Reply-To: Cancel-Lock: sha1:lyM5aHbgbNJwkJnSSODqW9cCvSg= X-NNTP-Posting-Host: eJwFwQERACAIA8BKcLIx6oDSP4L/OHROBsHAYtPZFxFDb1lOxyuTmFvKAuI8rQTdtPY+Hwe+EDo= Xref: csiph.com comp.lang.javascript:26425 Tony Johansson wrote: > Here is a function that I have found in a book called "Eloquent > JavaScript" but forEachIn does not exist in JavaScript. > How would I changed it so that it works. Maybe you're looking for: . -- Christoph M. Becker