jshint/jshint

'freeze' doesn't protect ES6 native objects

Open

#2.859 aberto em 31 de jan. de 2016

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (1.757 forks)batch import
good first issue

Métricas do repositório

Stars
 (8.937 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

// jshint freeze: true, esversion: 6
Array.prototype.foo = 2;
Map.prototype.foo = 2;

Expected: two Extending prototype of native object warings. Actual: only Extending prototype of native object: 'Array' at line 2

Guia do colaborador