Is property value shorthand in objects compatible with all browsers?


#1

Question

Is property value shorthand in objects compatible with all browsers?

Answer

Not quite, most are, but Internet Explorer 11 is not compatible, although there are libraries called transpilers, like babel, that can be used to change our code from ES6+ to ES5 once we are done writing and we are ready to test everywhere.