Skip to content Skip to sidebar Skip to footer
Showing posts with the label Enums

How To Use C# Enumeration Values In Javascript

I have got an enumeration in C# ie something like Category.cs. In a dropdownlist we are binding val… Read more How To Use C# Enumeration Values In Javascript

Is JavaScript String Comparison Just As Fast As Number Comparison?

I'd like to write a little library for JavaScript enums. For me to do that, I need to decide ho… Read more Is JavaScript String Comparison Just As Fast As Number Comparison?

Why Does TypeScript Use Object Property Assignments As Object Keys And Variable Assignments As Function Arguments?

In the accepted answer for a question titled 'Compile an enum in TypeScript', the following… Read more Why Does TypeScript Use Object Property Assignments As Object Keys And Variable Assignments As Function Arguments?