Skip to content

Instantly share code, notes, and snippets.

View Lucianovici's full-sized avatar

Lucian Corduneanu Lucianovici

View GitHub Profile
/**
* int16, and uint16 numbers in JS.
*
* by Dmitry Soshnikov <dmitry.soshnikov@gmail.com>
*/
const assert = require('assert');
/**
* Converts a number to signed 16-bit integer.