[whatwg] link.sizes and [PutForwards=value]

Cameron McCormack cam at mcc.id.au
Mon Aug 1 16:32:12 PDT 2011


On 2/08/11 6:29 AM, Tab Atkins Jr. wrote:
> It's a confusion shared by all objects, though:
>
> var x = [1,2];
> var y = [1,2];
> alert([x,y,x==y).join(' ');
>
> This alerts "1,2 1,2 false".

That is true, but I get the impression that some authors don't know that 
the Location object is actually an object rather than a string.

I don't feel like [PutForwards] is a particularly obvious API design 
pattern for authors, and I don't think we should be adding new uses of it.



More information about the whatwg mailing list