You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both shows error in console with following information,
this.cards.sort((l, r) => order === 'asc' ? l.compare(r) : r.compare(l));
^
TypeError: Cannot read property 'compare' of null
at cards.sort (C:\Users\HU\Desktop\c09\node_modules\tx-holdem\src\hand.js:220:55)
at Array.sort (native)
at Hand.sort (C:\Users\HU\Desktop\c09\node_modules\tx-holdem\src\hand.js:220:20)
at new Hand (C:\Users\HU\Desktop\c09\node_modules\tx-holdem\src\hand.js:20:14)
at Object.<anonymous> (C:\Users\HU\Desktop\c09\app.js:15:15)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
Did I miss something or it is a bug?
The text was updated successfully, but these errors were encountered:
or
Both shows error in console with following information,
Did I miss something or it is a bug?
The text was updated successfully, but these errors were encountered: