UNPKG

stick-js

Version:

Fast toolkit for functional programming in JS. Provides idioms for referentially transparent expressions, clear separation of mutable and immutable operations, object factories, function calls based on English grammar, and pipe & compose operators.

3 lines 582 B
"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.safeObject=exports.propertyIsEnumerable=exports.oStr=exports.hasOwnProperty=exports.default=void 0;var _ref={},oStr=exports.oStr=_ref.toString,hasOwnProperty=exports.hasOwnProperty=_ref.hasOwnProperty,propertyIsEnumerable=exports.propertyIsEnumerable=_ref.propertyIsEnumerable;// --- an object with a null prototype, which can therefore not be attacked through prototype // pollution. var safeObject=exports.safeObject=function safeObject(){return Object.create(null);};var _default=exports.default=null;