Skip to content

Instantly share code, notes, and snippets.

View cordu-dev's full-sized avatar

Lucian Corduneanu cordu-dev

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.