This is very basic tutorial of javascript where you will learn how to check if string contains array of substrings. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> <script src="script.js"></script> </body> </html>
let a = 0; let b = {}; let c = 'World'; let result = a || b || c; console.log(result); <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> <script src="script.js"></script> </body> </html>
Recently, while working on one of my project, I encountered the following error and I will let you later how actually I fixed it. This error is basically about angular production mode. angular is running in the development mode. call enableprodmode() to enable the production mode. To enable production mode in Angular 6, Angular 7