Home »
MCQs »
SASS MCQs
Which is the correct syntax of append() function?
36. Which is the correct syntax of append() function?
- append(list, [separator])
- append(value)
- append(list, value, [separator])
- append-to-list(list, value, [separator])
Answer: C) append(list, value, [separator])
Explanation:
The correct syntax to add a single value in a list is,
append(list, value, [separator])