Open BSravanthi opened 6 years ago
custom.js: 1fbfe796715f4b0c9ede2505f7f0ca93a579acb7 npm.js: 5a702b689913cdd6cefca9da326fe4526b7af9e5
Valid fix @sahithireddy27
Valid fix @sahithireddy27
406347a-custom.js 30dd314-nmp.js 08c81d7-MathJax.js
Valid fix @Pallavi98
Valid fix @pallavi98
Valid fix @Pallavi98
JavaScript is unique amongst the C-like languages in that it doesn't require semicolons at the end of each statement. In many cases, the JavaScript engine can determine that a semicolon should be in a certain spot and will automatically add it. This feature is known as automatic semicolon insertion (ASI) and is considered one of the more controversial features of JavaScript. On the first line, the JavaScript engine will automatically insert a semicolon, so this is not considered a syntax error. The JavaScript engine still knows how to interpret the line and knows that the line end indicates the end of the statement. In the debate over ASI, there are generally two schools of thought. The first is that we should treat ASI as if it didn't exist and always include semicolons manually. The rationale is that it's easier to always include semicolons than to try to remember when they are or are not required.
Please refer to the following link to fix similar issues.
https://app.codacy.com/app/BSravanthi/colloid-and-surface-chemistry-iiith/issues?&filters=W3siaWQiOiJMYW5ndWFnZSIsInZhbHVlcyI6W251bGxdfSx7ImlkIjoiQ2F0ZWdvcnkiLCJ2YWx1ZXMiOlsiQ29kZSBTdHlsZSJdfSx7ImlkIjoiTGV2ZWwiLCJ2YWx1ZXMiOltudWxsXX0seyJpZCI6IlBhdHRlcm4iLCJ2YWx1ZXMiOlsxNTU1XX0seyJ2YWx1ZXMiOltdfV0=