Skip to content

Commit ca82fff

Browse files
authored
Create Assign-Without-Object-Declaration.js
1 parent 1a0b4c9 commit ca82fff

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Assign-Without-Object-Declaration.js

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
// Assignment without Object Declaration
3+
4+
({nama, umur} = {
5+
nama : "Godam Strong",
6+
umur : 32
7+
});
8+
9+
console.log(nama); // Output: Godam Strong

0 commit comments

Comments
 (0)