www.webdeveloper.com

Search:

Type: Posts; User: hvip

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    903

    BTW, i'm in a learning process right now.. I...

    BTW, i'm in a learning process right now..
    I try to make a TicTacToe (canvas/javascript game)
    Are arrays the best way to check and store the cell positions or are there better ways?
    Ty!
  2. Replies
    5
    Views
    903

    Ty for the answer! Thats exctly what i came up...

    Ty for the answer!
    Thats exctly what i came up with while i was waiting for help :), my brain is very slow today!

    function addUsedCell(a1, a2){

    var c = a1;
    var d = a2;
    ...
  3. Replies
    5
    Views
    903

    Problem with array iteration

    Hi,
    can anyone tell me what is wrong in the code bellow?
    what i want is to push a new index in var array with the values from var sample but only if they don't already exist in var array!
    Ty!

    ...
  4. What's the point with a FORUM like this when...

    What's the point with a FORUM like this when people ask you to read. I do that to! Only that none of the books/tutorials gave an answer to my question. I guess when you have a lot of experience it's...
  5. Named or unnamed constructor, What's the difference?

    Below are 2 constructor objects, the only difference is the naming. What are the implications of using one or the other?

    var PersonT1 = function(name, age, gender){
    this.name = name;
    ...
  6. Replies
    1
    Views
    1,029

    Solved!!!

    Solved!!!
  7. Replies
    1
    Views
    1,029

    Objects in array -> search

    Hi,
    I have an object/array populated by json data like this:
    [{name="John", gender="male", country="US"},{name="Bill", gender="male", country="GB"},{name="Steve", gender="male", country="SE"}]
    ...
Results 1 to 7 of 7
HTML5 Development Center



Recent Articles