#jsnotes search results
#jsnotes #chaiaurcode JS Execution Global execution context Functional execution context
#jsnotes Array.isArray() Array.from() creates new shallow copy Array.of() creates new array from different arguments
#jsnotes In Array Splice manipulates the original array Slice doesn't change the original array
Arrow function inherits the this keyword from parent scope #jsnotes
Functions are block scoped in strict mode 'use strict '; #jsnotes
JS Notes: The eval() function in JS is used for evaluating the string as a expressions. Like x = 10; So console.log( eval('x + 10'); Output will be 20. #JS , #JSNotes , #Notes , #JavaScriptNews , #javascript , #ES6 , #JsFunctions , #Coders , #developers , #npm , #cli , #Dev
Here comes another Logical Operator 👉 Nullish coalescing operator (ES2020) #ES2020 #jsnotes #shortnotes #devnotes
#100DaysOfCode Day-5 #JSnotes Just found out we can target an input kinda thing in a class by const XXX = document.querySelector(“.class input”); It is a shock to me as I google the way for hours haha. Wish it could save you time too. #CodeNewbie #javascript
#100DaysOfCode Day-5 5:25am #CodeNewbie #JSnotes Just woke up and found a good website for Learning map function ~ codeburst.io/learn-understa…
#JSnotes #ES6 Constructor of a class is special that it initialized an instance to a valid state, and it will be called automatically so we can’t forget to initialize our objects. No need to code “this._XXX= XXX “anymore Code clean ;)
#JSnotes #100DaysOfCode Day-2 | this | has a small change and it is now represented the context not global.
#JSnotes #100DaysOfCode I like the new style of function in ES6, it makes code clean and easy to use, especially no need to retype "function" repeatedly. LOVE JavaScript.
#JSnotes #ES6 const cat = "John" ; cat = "Sam ; // TypeError bcuz const cant be changed const cat = { name : "John" } ; cat.name = "Sam" ; // name will be changed to 'Sam' var -> const + let use them to have a cleaner code!
#JSnotes #ES6 for ( let i = 1 ; i < 5 ; i++ ) { console.log( i ) ; } using let will limit the scope of variable to the block, which means the system will return " i is not defined " outside the for loop. Not like ES5, the var could still be accessed outside the scope.
Data Types in JavaScript: String, Number, Boolean, Null, Undefined, BigInt, Objects, Symbols #JSNotes
1/2 Summer of 1995 I worked for Rochford Council. Cleared dog shit up off of fields. #jsnotes #jobsofawriter
#JSnotes #100DaysOfCode Day-2 | this | has a small change and it is now represented the context not global.
Here comes another Logical Operator 👉 Nullish coalescing operator (ES2020) #ES2020 #jsnotes #shortnotes #devnotes
#JSnotes #100DaysOfCode I like the new style of function in ES6, it makes code clean and easy to use, especially no need to retype "function" repeatedly. LOVE JavaScript.
Something went wrong.
Something went wrong.
United States Trends
- 1. Good Sunday 71.5K posts
- 2. Wirtz 12.8K posts
- 3. #AskFFT N/A
- 4. Ole Miss 42.3K posts
- 5. Gakpo 11.7K posts
- 6. #sundayvibes 5,420 posts
- 7. Isak 20.6K posts
- 8. Vidal 3,530 posts
- 9. Lane Kiffin 52.3K posts
- 10. Zirkzee 25K posts
- 11. #MUFC 19.5K posts
- 12. #CRYMUN 9,286 posts
- 13. Amorim 44.2K posts
- 14. Duke 34.4K posts
- 15. Neal 4,708 posts
- 16. Crystal Palace 39K posts
- 17. Stockton 32.9K posts
- 18. #AskBetr N/A
- 19. West Ham 21.5K posts
- 20. Licha 5,785 posts