(val: number | bigint)
| 178 | return opts |
| 179 | } |
| 180 | public select(val: number | bigint): LDMLPluralRule { |
| 181 | validateInstance(this, 'select') |
| 182 | // Use ToIntlMathematicalValue which handles bigint per ECMA-402 |
| 183 | // https://tc39.es/ecma402/#sec-intl.pluralrules.prototype.select |
| 184 | const n = ToIntlMathematicalValue(val) |
| 185 | return ResolvePlural(this, n, {getInternalSlots, PluralRuleSelect}) |
| 186 | } |
| 187 | /** |
| 188 | * Intl.PluralRules.prototype.selectRange ( start, end ) |
| 189 | * |