--- !ditz.rubyforge.org,2008-03-06/issue title: add virtual 'length' and index properties to buffers desc: |- arr[123] should probably be a number value. Although this deviates from how strings work (str[123] is a 1-char string), having arr[123] return a 1-byte buffer or a 1-byte string seems quite inefficient. type: :task component: duk release: v0.10 reporter: sva status: :closed disposition: :fixed creation_time: 2014-03-06 12:43:46.320318 Z references: [] id: 518a96235050b0ae17431510af561e03354d282c log_events: - - 2014-03-06 12:43:46.512584 Z - sva - created - "" - - 2014-03-06 21:56:37.679023 Z - sva - commented - |- duk_hobject flags field is now full; 2 more bits can be allocated from heaphdr to implement this feature. - - 2014-03-28 00:14:58.051081 Z - Sami Vaarala - closed with disposition fixed - ""