File: input.scss

package info (click to toggle)
node-node-sass 9.0.0%2Bgit20240131.6081731%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 75,520 kB
  • sloc: javascript: 7,313; cpp: 1,495; perl: 428; makefile: 11
file content (25 lines) | stat: -rw-r--r-- 591 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$map1: (aaa: 100, bbb: 200, ccc: 300);
$map2: (ddd: 400, eee: 500, fff: 600);

a {
  $new-list: append($map1, $map2);
  b: length($new-list);
  b: type-of($new-list);
  b: nth($new-list, 1);
  b: nth($new-list, 2);
  b: nth($new-list, 3);
  b: nth(nth($new-list, 4), 1);
  b: nth(nth($new-list, 4), 2);
  b: nth(nth($new-list, 4), 3);


  $new-list: append($map2, $map1);
  c: length($new-list);
  c: type-of($new-list);
  c: nth($new-list, 1);
  c: nth($new-list, 2);
  c: nth($new-list, 3);
  c: nth(nth($new-list, 4), 1);
  c: nth(nth($new-list, 4), 2);
  c: nth(nth($new-list, 4), 3);
}