Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

String.to{Low,Upp}case() gives invalid result #462

@alexlamsl

Description

@alexlamsl

The following fails with [email protected]:

// gives 304 instead
assert.strictEqual("İ".toLowerCase().charCodeAt(0), 105);
// gives 305 instead
assert.strictEqual("ı".toUpperCase().charCodeAt(0), 73);

Discovered in mishoo/UglifyJS#2886 (comment)

Other platforms are working as expected:

  • IE 8~11
  • FireFox 43
  • Safari 5
  • Opera 10
  • Node 0.10~9

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions