Console ↗

score()

Order the levels from lowest to highest. A fractional answer can fall between two levels.

Signature

score(instructions, criteria)

Example

import {score} from "./ngila.mjs";
const value = score("How complete is the record?", ["Missing", "Partial", "Complete"]);