Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26531

Can somebody give me an example how I can call this forEachIn function

From "Tony Johansson" <johansson.andersson@telia.com>
Newsgroups comp.lang.javascript
Subject Can somebody give me an example how I can call this forEachIn function
Date 2015-01-10 15:22 +0100
Organization A noiseless patient Spider
Message-ID <m8rcir$9u1$1@dont-email.me> (permalink)

Show all headers | View raw


Just specify some variables or object so I can uderstand hiw this forEachIn 
can be called

function forEachIn(object, action)
    {
        for(var property in object)
        {
            if (object.hasOwnProperty(property))
            {
                action(property, object[property]);
            }
        }
    }

//Tony 

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Can somebody give me an example how I  can call this forEachIn function "Tony Johansson" <johansson.andersson@telia.com> - 2015-01-10 15:22 +0100
  Re: Can somebody give me an example how I can call this forEachIn function Martin Honnen <mahotrash@yahoo.de> - 2015-01-11 15:57 +0100
    Re: Can somebody give me an example how I can call this forEachIn function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-11 17:43 +0100

csiph-web