Closed andr1972 closed 1 year ago
file:///home/andrzej/wazne/gitmy/BezierInfo-2work/docs/js/graphics-element/api/graphics-api.js:689 let w = this.panelWidth ?? this.width;
file:///home/andrzej/wazne/gitmy/BezierInfo-2work/docs/js/graphics-element/api/types/matrix.js:130 this.data = data ?? [...new Array(n)].map((v) => [...new Array(m)].map((v) => 0));
file:///home/andrzej/wazne/gitmy/BezierInfo-2work/docs/js/graphics-element/api/impart-slider-logic.js:120 let checked = transform ? transform(value) ?? value : value;
steps to reproduce : npm test remove ?? code and "npm test" again
Stop using Node 14 or older and use a version of Node that supports the not-even-new-anymore ?? operator. The current LTS is v18, but even the previous LTS version (v16) supports ?? just fine.
??
file:///home/andrzej/wazne/gitmy/BezierInfo-2work/docs/js/graphics-element/api/graphics-api.js:689 let w = this.panelWidth ?? this.width;
file:///home/andrzej/wazne/gitmy/BezierInfo-2work/docs/js/graphics-element/api/types/matrix.js:130 this.data = data ?? [...new Array(n)].map((v) => [...new Array(m)].map((v) => 0));
file:///home/andrzej/wazne/gitmy/BezierInfo-2work/docs/js/graphics-element/api/impart-slider-logic.js:120 let checked = transform ? transform(value) ?? value : value;
steps to reproduce : npm test remove ?? code and "npm test" again