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`);});
The
Languagemodel should have its type set toLanguage. 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