We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11f7574 commit 6d7e7e7Copy full SHA for 6d7e7e7
src/1-digit/3-Three.js
@@ -1,5 +1,5 @@
1
import assert from 'assert';
2
-import {node2, node3} from '../2-node/index.js';
+import {node2, Node3, node3} from '../2-node/index.js';
3
import {Split} from '../0-core/index.js';
4
import {Digit, One, Two, Four} from './index.js';
5
@@ -46,7 +46,7 @@ Three.prototype.cons = function (value) {
46
};
47
48
Three.prototype.node = function (M) {
49
- return node3(M, this.a, this.b, this.c);
+ return new Node3(this.measure(M), this.a, this.b, this.c);
50
51
52
/**
0 commit comments