Skip to content

Commit 2b99bb7

Browse files
Update README.md
1 parent 7bcff80 commit 2b99bb7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@ you will get the output in terminal.
4040
Lets move to day two when we will see the function type. its just basic of Java ECMA6 how we will define it.
4141
1. Define Objects.
4242

43+
```ruby
4344
var obj = {name : "satya", phoneNo : 1234567890, email : "Test@gmail.com"}
4445

4546
console.log(obj);
4647
console.log(obj.name);
48+
```
4749

4850
2. anonymous method
4951
Function which is not having the name is called anonymous function.

0 commit comments

Comments
 (0)