Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$test: false;
@for $i from 0 through 5 {
@if $test == false {
$test: 'This is #{$i}';
}
@else {
$test: $test, 'This is #{$i}';
}
}
@debug nth($test, 1);
////////////////////////
// Expected Output
////////////////////////
"This is 0";
////////////////////////
// Actual Output
////////////////////////
"This is 0", "This is 1", "This is 2", "This is 3", "This is 4";
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.