Skip to content

Instantly share code, notes, and snippets.

View weinshel's full-sized avatar

Ben Weinshel weinshel

View GitHub Profile
@weinshel
weinshel / mathjs_range_bug.js
Last active July 10, 2018 14:41
math.js range override bug
const math = require('mathjs')
// define factory functions for range and reshape
function myRangeFactory (type, config, load, typed) {
return (() => 12)
}
function myReshapeFactory (type, config, load, typed) {
return (() => 21)
}