Commit 8692d044 authored by Ray Bellis's avatar Ray Bellis

reinstate ANumeric inspect method

parent 11654b40
......@@ -260,6 +260,13 @@ class ANumeric extends AFixed {
return Object.create(this.prototype, { value: { value, enumerable: true } } );
}
/**
* Convert the value into a string
*/
[inspect]() {
return this.value.toString();
}
/**
* Converts the value into a buffer of the appropriate length
* @return {Uint8Array}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment