node-debbundle-es-to-primitive

Pure javascript implementation of ToPrimitive algorithm
  https://github.com/ljharb/es-to-primitive#readme
  0
  no reviews



This package provides a ponyfill for ToPrimitive algorithm, thus converting of JavaScript object to a primitive value. In JavaScript a primitive is data that is not an object and has no method. There are seven primitive data type: string, number, bigint, boolean, null, undefined and symbol.

This bundle package includes also a few small packages - node-is-callable test whether an object is callable. - node-make-generator-function : returns an arbitrary generator function, or undefined if generator syntax is unsupported. - node-make-arrow-function: returns an arbitrary arrow function, or undefined if arrow function syntax is unsupported. - node-is-date-object: test whether an object is a date. - node-has-symbol: determine if the JS environment has Symbol support. support specs or shams. - node-is-symbol: test whether a value is a JavaScript symbol. - node-object-is: shim for Object.is

Node.js is an event-based server-side JavaScript engine.