polyfill uses != to check typeof assign to "function" vs !==

UNCONFIRMED
Unassigned

Status

P5
normal
UNCONFIRMED
2 years ago
2 years ago

People

(Reporter: gary.k.hollingshead, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

2 years ago
:: Developer Documentation Request

      Request Type: Correction
     Gecko Version: unspecified
 Technical Contact: 

:: Details

I could be wrong, but the line in the assign polyfill :
if (typeof Object.assign != "function")
should be 
if (typeof Object.assign !== "function")

If not, I'd love to know why.
Component: General → JavaScript
You need to log in before you can comment on or make changes to this bug.