Open BSravanthi opened 6 years ago
Commit id : 4d372a17c0743adbacc9daaf19d7b770c3807f1d (Update MML_HTMLorMML.js) Commit id : 1a3d726810cf21e2a6dfba190472b1320fa95b52 (Extensions - mml2jax.js) Commit id : 0bd691c6d8b839602f38a87ef9f6bfbf1cbe866e (Extensions - MathMenu.js) Commit id : 3719bf3c8324e8eb40f79d69854c7194afdb447b (Extension - tex2jax.js) Commit id : 42a4c6e69fc67929be6301e23c232754a44cf275 (Extensions - unicode.js) Commit id : 1c9150de5319854259a8a06ef594e3213c02864e (Unpacked - MathJax.js) Commit id : dcb5b9e40c50c013860af9d2ea743f14d589bbf4 (Update GeometricShapes.js) Commit id : d028fbeaf41c32d3e6eddaff11a299ed12c1e72e (Update jsMath2jax.js) Commit id : a5600599660aab35894aa72113aecbe46dcfde65 (Update ms.js)
Please validate.
Valid fix @ShivaniKomandury
Valid fix @ShivaniKomandury
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/artificial-neural-networks-iiith/issues?&filters=W3siaWQiOiJMYW5ndWFnZSIsInZhbHVlcyI6W251bGxdfSx7ImlkIjoiQ2F0ZWdvcnkiLCJ2YWx1ZXMiOlsiQ29kZSBTdHlsZSJdfSx7ImlkIjoiTGV2ZWwiLCJ2YWx1ZXMiOltudWxsXX0seyJpZCI6IlBhdHRlcm4iLCJ2YWx1ZXMiOlsxNTU1XX0seyJ2YWx1ZXMiOltdfV0=