https://medium.com/quick-code/top-tutorials-to-learn-typescript-c08834892e69
Month: July 2019
IT PRO | Enterprise & Business IT News, Reviews, Features & How Tos
What is TypeScript? | IT PRO
Explore TypeScript Fat Arrow!
Microsoft hologram speaking Japanese
Tips and Tricks about Razor Partial Views
By: Dino Esposito
Partial views in ASP.NET MVC allow you to reuse and customise components to act like user controls. They consist of both code and markup. They are an idea that is easy to grasp but they have great potential for the more adventurous developer who is prepared to experiment. Dino Esposito explains.
Understand The JavaScript Ternary Operator like the ABCs by William Imoh (thanks)
If you made it this far then it’s either you know of ternary operators and want to know more, you have no idea of ternary operators, or you’re just somewhere in-between. Keep on.
From my time writing JavaScript, and of course looking through the JavaScript of others especially beginner developers, I have noticed the age-long trend of using if/else statements and really long chains of them too! As an advocate of DRY code -Don’t Repeat Yourself, I ensure my code stays DRY, and maybe cold-hearted, lol.
In this post, we’ll be explaining ternary operators in the simplest way and how they make coding and life in general, easier.
Table of Contents
JavaScript Output
JavaScript can “display” data in different ways:
- Writing into an HTML element, using
innerHTML. - Writing into the HTML output using
document.write(). - Writing into an alert box, using
window.alert(). - Writing into the browser console, using
console.log().