1. phantomjs-polyfill-object-assign
Polyfill for Object.prototype.assign
phantomjs-polyfill-object-assign
Package: phantomjs-polyfill-object-assign
Created by: chuckplantain
Last modified: Thu, 23 Jun 2022 20:41:24 GMT
Version: 0.0.2
License: MIT
Downloads: 4,816
Repository: https://github.com/chuckplantain/phantomjs-polyfill-object-assign

Install

npm install phantomjs-polyfill-object-assign
yarn add phantomjs-polyfill-object-assign

phantomjs-polyfill-object-assign

Object.prototype.assign polyfill for phantom.js based on https://github.com/tom-james-watson/phantomjs-polyfill and
https://github.com/ptim/phantomjs-polyfill-find

This is a polyfill for Object.prototype.assign which is missing from PhantomJS.

Installation

    npm install --save-dev phantomjs-polyfill-object-assign

Usage with Karma

Include the polyfill directly in the files list of your karma.conf

    ...
    files: [
      './node_modules/phantomjs-polyfill-object-assign/object-assign-polyfill.js',
      ...
    ]
    ...

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code