This is a migrated thread and some comments may be shown as answers.

Usage of equality operator "=="

3 Answers 90 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 29 Jan 2014, 10:35 PM
The new AppBuilder release seems to really dislike any use of the JavaScript operator "==". It only throws a warning, but all of those warnings are false.

3 Answers, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 30 Jan 2014, 01:00 PM
Hello Michael,

Thanks for contacting us.
AppBuilder provides some additional analysis for the supported languages which you can manually adjust according to your preferences.
Here is a sample demo how to turn this one off.

Regards,
Zdravko
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

0
Michael
Top achievements
Rank 1
answered on 30 Jan 2014, 09:37 PM
Thanks.
0
Jordan
Telerik team
answered on 31 Jan 2014, 07:03 AM
Hello Michael,

It is good practice in JavaScript to use === and !=== except when you explicitly want type conversion.

You may like to check this out.

Happy coding,
Jordan
Telerik
Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
Tags
Report a bug
Asked by
Michael
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Michael
Top achievements
Rank 1
Jordan
Telerik team
Share this question
or