Jul. 13th, 2005

wrog: (Default)
  var answer = [];

  for (word in ['this','language','can','bite','me']) {
     answer.push(word);
  }
Just to make it easy, I'll tell you that the language in question is Javascript, [...] is an array constructor, and .push appends its arguments to the end of the list/array. The answer, of course, is...

drumroll... )

Looking For ... ?

my posts on:


Page generated Sep. 18th, 2025 02:52 pm
Powered by Dreamwidth Studios