TypeError in Internet Explorer 11 because Object.assign doesn't exist there
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17k
- Forks
- 3.4k
- Avg merge
- 7h 42m
- Merged PRs (30d)
- 26
Description
I'm using less.js version 3.8.1 in the Browser for local development (less.min.js from /dist from the 3.8.1 Release Source Zip), and in Internet Explorer 11 it throws a TypeError because Object.assign doesn't exist there. http://lesscss.org/usage/ says that IE11+ should be supported. Polyfilling Object.assign makes less.js work in Internet Explorer 11 as well.
Earlier Versions (upgraded from less.js 2.7.1) worked fine in IE.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the less.min.js bundle in /dist from the 3.8.1 release source and reproduce the TypeError in Internet Explorer 11. Check how Object.assign is used in the browser build; done means the distributed browser bundle works in IE11 without requiring a separate polyfill, while preserving current browser support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100