digitallinguistics/javascript

Language.type

dwhieb opened this issue · 1 comments

The Language model should have its type set to Language. This property should be enumerable, non-configurable, and non-writable (i.e. read-only).

Description: The type of model. Set to "Language".

Use JSDoc to indicate that this field is read-only.

Test

  it(`Language.prototype.type`, function() {
    expect(lang.type).toBe(`Language`);
  });