nodejs_training
Version:
Demo of nodejs
27 lines (24 loc) • 436 B
Plain Text
C:\Project\Work\nodejs_training>node
> console.log("Test123")
Test123
undefined
> 13+10
23
> function add(v1,v2){
... return v1+v2}
undefined
> console.log(add(123,234))
357
undefined
> var emp = {};
undefined
> emp.empId = 123;
123
> emp.empName = "Ashutosh";
'Ashutosh'
> emp.empAddress = "Bangalore";
'Bangalore'
> console.log(emp)
{ empId: 123, empName: 'Ashutosh', empAddress: 'Bangalore' }
undefined
>