Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andriikot/node.js-lesson1
Node.js Lesson 1
https://github.com/andriikot/node.js-lesson1
Last synced: about 2 months ago
JSON representation
Node.js Lesson 1
- Host: GitHub
- URL: https://github.com/andriikot/node.js-lesson1
- Owner: AndriiKot
- Created: 2023-03-25T09:10:15.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-03-25T09:34:32.000Z (over 1 year ago)
- Last Synced: 2024-01-09T00:34:35.439Z (12 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node.js-lesson1
Node.js Lesson 1```node
console.log('go Node.js')
let a;
a = '10';
console.log(a + 10) // '1010'let test = 'var test'
// function test() {
// console.log('function test');
// }
// SyntaxErrorfunction test_() {
console.log('function test');
}test_(); // 'function test'
console.log(test_()); // 'function test'; undefined
console.log(test_); // [Finction: test_]
console.log(typeof(test_) ) // functionfunction b(){
console.log("Hello, Node.js")
}const c = () => {
console.log('Hi, Node.js')
}b();c(); // 'Hello, Node.js'; 'Hi, Node.js'
const myArray = [1,2,3,4]
console.log(myArray[3]) // 4
```