Skip to main content

num_to_string

Function num_to_string 

Source
pub(crate) fn num_to_string(
    it: &mut Interp,
    t: Value,
    a: &[Value],
) -> Result<Value, Value>
Expand description

Number.prototype.toString(radix)。以前は radix(第1引数。2進/16進表示等の定番 イディオム n.toString(16))を完全に無視し常に10進表示だった。