Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/immutable-js/immutable-js
/ soup
Method
soup
__tests__/RecordJS.js:36–38 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
it(
'can be subclassed'
, () => {
35
class
Alphabet extends Record({ a: 1, b: 2, c: 3 }) {
36
soup() {
37
return
this.a + this.b + this.c;
38
}
39
}
40
41
// Note: `new` is only used because of `class`
Callers
1
RecordJS.js
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected