polytronicgr / sharpkit

Automatically exported from code.google.com/p/sharpkit
0 stars 0 forks source link

Add paranthesis arround instanceof expression #323

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
c# var needConvert = !array.instanceof<JsArray>();
js: var needConvert = !array instanceof Array;
it sould be: var needConvert = !(array instanceof Array);

Original issue reported on code.google.com by sebastia...@gmail.com on 1 Nov 2013 at 6:09