Be concise.

Be useful.

All contributions dictatorially edited by webmasters to match personal tastes.

Please do not paste any copyright violating resource.

Please try to avoid dependencies to third-party libraries and frameworks.

Other implementations
items := []T{a, b, c}
items = [a, b, c]
auto items = [a, b, c];
let items = vec![a, b, c];
items = [a, b, c]
var items = [a, b, c];
var items = new Array(a, b, c);
items = {a, b, c}
import java.util.List;
import java.util.ArrayList;
List<T> items = new ArrayList<>();
items = [a, b, c]
#include <vector>
std::vector<T> items = {a, b, c};
(define items (list a b c))
items = [a, b, c]
my @items = ($a, $b, $c);
$items = [$a, $b, $c];
import java.util.List;
import java.util.Arrays;
List<T> items = Arrays.asList(a, b, c);
val items = List(a, b, c)