Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
d3.permute = function(array, indexes) {
  var permutes = [],
      i = -1,
      n = indexes.length;
  while (++i < n) permutes[i] = array[indexes[i]];
  return permutes;
};
New to GrepCode? Check out our FAQ X