Shopify/batman — Issue #355: SetSort.length is always zero
Author: igorbernstein
Created: 2012-03-10 01:52:31+00:00
State: open

zeke = Batman name: 'Zeke'
mary = Batman name: 'Mary'

base = new Batman.Set(zeke, mary)
sorted = new Batman.SetSort(base, 'name')

console.log("lengths:", sorted.length, sorted.get("length"))