MCPcopy
hub / github.com/JedWatson/classnames / toString

Method toString

tests/bind.mjs:159–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157
158 it('handles toString() method defined inherited in object', () => {
159 class Class1 { toString() { return 'classFromMethod'; } }
160 class Class2 extends Class1 {}
161
162 assert.equal(classNamesBound(new Class2()), 'classFromMethod');

Callers 3

_parseObjectFunction · 0.45
parseValueFunction · 0.45
parseValueFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected