My intention was to test out some type settings on TypeScript playground at codepen.io, but I encountered an unexpected issue:
enum Order {
Asc = 'asc',
Desc = 'desc'
}
console.log(Order[Order.Asc]); // undefined in codepen.io playground
Usually, when compiled with webpack or other tools, it correctly displays "Asc".