Added Deprecating the switch statement for Object literals