1. String concatenation

console.log('my'+' cat'); //my cat
console.log('1'+2);         //12
console.log(`string literals: 
    '''
    1+2= ${1+2}`); //string literals:
                ///'''
                ///1+2=3
console.log("ellie's \\n\\t book") // ellie's     \\n : 줄바꿈 \\t :  수평 탭
                                // book

2. Numeric operators

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/7ee4878e-25bb-4f40-8f72-29694fde0c65/.png

3. Increment and decrement operators

let counter = 2;
const preIncerment = ++counter; //3
//counter = counte +1;
//preIncrement = counter;

const postIncerment = counter++; //3
//postIncrement = counter;
//counter = counte +1;

4. Assignment operator & 5. Comparison operators

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d126ea18-9297-48fc-88d3-a689eb476a57/.png

6. Logical operators

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/4ce7a2e6-2b70-453e-911c-d266be5d29fa/.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/972b6255-c2c8-48d5-bb08-4e8d6680f28a/.png

→ object가 null이면 false가 되기 때문에 뒤에가 실행이 안됨 . 즉, null object가 null이 아닐때만 object에 something이라는 value를 가져올 수 있음