File tree Expand file tree Collapse file tree 2 files changed +0
-48
lines changed Expand file tree Collapse file tree 2 files changed +0
-48
lines changed Original file line number Diff line number Diff line change @@ -21,27 +21,3 @@ Node2.prototype.measure = function () {
2121Node2 . prototype . digit = function ( ) {
2222 return new Two ( this . a , this . b ) ;
2323} ;
24-
25- Node2 . prototype . head = function ( ) {
26- throw new Error ( 'trying to call head of Node2' ) ;
27- } ;
28-
29- Node2 . prototype . last = function ( ) {
30- throw new Error ( 'trying to call last of Node2' ) ;
31- } ;
32-
33- Node2 . prototype . init = function ( ) {
34- throw new Error ( 'trying to call init of Node2' ) ;
35- } ;
36-
37- Node2 . prototype . tail = function ( ) {
38- throw new Error ( 'trying to call tail of Node2' ) ;
39- } ;
40-
41- Node2 . prototype . push = function ( _value ) {
42- throw new Error ( 'trying to call push of Node2' ) ;
43- } ;
44-
45- Node2 . prototype . cons = function ( _value ) {
46- throw new Error ( 'trying to call cons of Node2' ) ;
47- } ;
Original file line number Diff line number Diff line change @@ -22,27 +22,3 @@ Node3.prototype.measure = function () {
2222Node3 . prototype . digit = function ( ) {
2323 return new Three ( this . a , this . b , this . c ) ;
2424} ;
25-
26- Node3 . prototype . head = function ( ) {
27- throw new Error ( 'trying to call head of Node3' ) ;
28- } ;
29-
30- Node3 . prototype . last = function ( ) {
31- throw new Error ( 'trying to call last of Node3' ) ;
32- } ;
33-
34- Node3 . prototype . init = function ( ) {
35- throw new Error ( 'trying to call init of Node3' ) ;
36- } ;
37-
38- Node3 . prototype . tail = function ( ) {
39- throw new Error ( 'trying to call tail of Node3' ) ;
40- } ;
41-
42- Node3 . prototype . push = function ( _value ) {
43- throw new Error ( 'trying to call push of Node3' ) ;
44- } ;
45-
46- Node3 . prototype . cons = function ( _value ) {
47- throw new Error ( 'trying to call cons of Node3' ) ;
48- } ;
You can’t perform that action at this time.
0 commit comments