What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-08-31 16:18:01
computed property in javascript
/* Computed Property Names is ES6 feature which allows the names of object properties in JavaScript OBJECT LITERAL NOTATION to be determined dynamically, i.e. computed. */ let propertyname = 'c'; let obj ={ a : 11, b : 12, [propertyname] : 13 ... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5