JavaScript Assignment Operators

Javascript Assignment Operators

In this article we will learn about JavaScript assignment operators. JavaScript Assignment Operator The followings are the assignment operator in javascript: Simple Assignment Additional Assignment Subtraction Assignment Multiplication Assignment Division Assignment Reminder Assignment   Simple Assignment (=) This operator assigns the right operand value to the left operand. var a='apple', b='banana',c='cat'; Additional Assignment (+=) This … Read more JavaScript Assignment Operators

Using innerHTML in angular 2+ project

Using innerHTML in angular 2+ project

innerHTML property is used to display the HTML content in your template. You might be having some scenario where you’ll need to display the HTML template from a string where the interpolation syntax won’t work because it will display HTML tag as plain text in the template. so in that case innerHTML will come into … Read more Using innerHTML in angular 2+ project