Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$test:();
@for $i from 0 through 5 {
$test: append($test, a b, comma);
}
@debug $test;
@debug nth($test, 1);
@debug nth(nth($test, 1),2);
@Snugug

This comment has been minimized.

Copy link

commented Jun 28, 2012

$test:();
@for $i from 0 through 5 {
  $holder: 'This is #{$i}' $i;
  $test: join($test, $holder, comma);
}
@debug $test;
@debug nth($test, 1);
@metaskills

This comment has been minimized.

Copy link

commented Jul 26, 2012

Interesting, is playing around with my question here?
https://gist.github.com/3170386

@sivagao

This comment has been minimized.

Copy link

commented Feb 20, 2013

the output:
DEBUG: a b, a b, a b, a b, a b, a b
DEBUG: a b
DEBUG: b

o(╯□╰)o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.