UNPKG

@tdb/web

Version:

Common condiguration for serving a web-site and testing web-based UI components.

6 lines (5 loc) 179 B
// 20.2.2.28 Math.sign(x) module.exports = Math.sign || function sign(x) { // eslint-disable-next-line no-self-compare return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; };