core-lib
core-lib copied to clipboard
God mode's override set to true and a stack overflow
When using the 'god mode' with override set to true i've got a stack overflow. Code to reproduce (CS)
{ R } = require('rubyjs')
R.god_mode '', yes
test = "kampai".ljust(10, ' ')
Result:
.../node_modules/rubyjs/ruby.js:83
val = this.valueOf();
^
RangeError: Maximum call stack size exceeded