Ticket #972 (closed defect: fixed)

Opened 18 months ago

Last modified 18 months ago

clamp Number method returns unexpected results

Reported by: FND Owned by: MartinBudden
Priority: major Milestone: 2.5.1
Component: core Version:
Severity: medium Keywords:
Cc:

Description

Number.prototype.clamp returns a custom object which is not identical to a Number object. This can lead to unexpected results.

Change History

Changed 18 months ago by FND

It has been suggested that this method might not be required and should thus be deprecated.

That would mean BasicTypes.js only contains Array methods; cf. #973.

Changed 18 months ago by MartinBudden

  • status changed from new to closed
  • resolution set to fixed

Fixed in changeset:9266

Changed 18 months ago by MartinBudden

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 18 months ago by MartinBudden

  • owner changed from JeremyRuston to MartinBudden
  • status changed from reopened to new

Changed 18 months ago by MartinBudden

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.