[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] WebGL bufferSubData lacks "size" parameter



And if you wrote

var C;

at the beginning would it make any difference?

Regards

-Mark

On 12/01/2012 14:23, Gregg Tavares (wrk) wrote:

want proof

C = A + B;
C.foo = "hello"
console.log(C.foo);  // prints hello
C = A + 1;
console.log(C.foo);  // prints undefined
C.foo = "hello"
console.log(C.foo);  // prints hello
C = C + 1;  // new object
console.log(C.foo);  // prints undefined
C.foo = "hello";
console.log(C.foo);  // prints hello
C++;  // new object
console.log(C.foo);  // prints undefined