title: phantomjs: how to run script with object.assign function?
body: <p>I try to run phantomjs script for website that inculde js with Object.assign function and get an error:</p>
  
  <p><code>TypeError:: undefined is not a function (evaluating 'Object.assign')</code>.</p>
  
  <p>As i understand, phantomjs doesn't use ES-2015. So i need to use polyfill like <a href="https://github.com/chuckplantain/phantomjs-polyfill-object-assign" rel="nofollow noreferrer">this</a>. I tried to make it work with injectJs, includeJs or even require with absolute url, but it still doesn't work.</p>
  
  <p>How to import this js and run script? </p>