Monday, 1 October 2018

Node shell: _ symbol

_ symbol stores the result of last evaluated expression.

C:\>node
> x = 10
10
> _
10
> y = 20
20
> x + y
30
> _
30
> x + _
40
>


Previous                                                 Next                                                 Home

No comments:

Post a Comment