Skip to content

Instantly share code, notes, and snippets.

Variables:
Avoid global variables:
Variables can be accessed in local scope or global scope.
Local and global variable with the same name => javascript will prioritize the local variable.
Local variables are deleted once the local execution context is complete. Global variables
References
Use const or let for references
Avoid using var (https://developer.mozilla.org/en-US/docs/Glossary/Hoisting)
ES6
Promises
Asynchronicity
Event loop
Microtask queue
https://jakearchibald.com/2015/tasks-microtasks-queues-and-schedules/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@christinach
christinach / PY0101EN-1-2-Strings.ipynb
Created March 15, 2021 03:51
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.