Javascript example:
var list = fields.LIST_FIELD.createCustomList(["Line 1", "Line 2", "Line 3"]);
returns CustomList
Javascript example: