文档导航

函数:score()

函数:score()

function score<T>(instructions, criteria): ScoreQuestion<T>;

用有序量规创建一个 score 问题。

类型参数

T

T 继承 ScoreCriteria

参数

instructions

EntryType

问题本身,可以是文本、JSON 对象或数组,也可以为 null。

criteria

T

至少两条描述,按 score 从零开始索引;每一项都可以是 null。

返回值

ScoreQuestion<T>