Typescript Object Property Name From Variable In Javascript W3schools