+ 2

How do we construct an object in JavaScript

19th Jul 2019, 3:02 PM
Tobah
Tobah - avatar
2 Réponses
+ 18
var obj = { val1: 5, val2: "some text" } For more info you can visit: https://coderwall.com/p/p5cf5w/different-ways-of-creating-an-object-in-javascript
19th Jul 2019, 3:23 PM
VEDANG
VEDANG - avatar
+ 15
https://www.sololearn.com/learn/JavaScript/1151/ https://www.sololearn.com/learn/JavaScript/2975/
19th Jul 2019, 4:47 PM
Danijel Ivanović
Danijel Ivanović - avatar