How to reach me: luc4leone@gmail.com
๐ป
Highlights
- Pro
Pinned Loading
-
copyWithin
copyWithin 1function copyWithin (array, startPasting, startCopying, endCopying) {
2/* TYPE ERRORS */
3// no arguments passed in
4if (arguments.length === 0) {
5throw new TypeError('undefined is not an array');
-
Useful way to read JavaScript AND an...
Useful way to read JavaScript AND and OR expressions 1// I find it useful to read expr1 && expr2 as "if expr1 is true, than expr2"
2// By definition, expr1 && expr2 returns expr2 if expr1 can be converted to true; otherwise, it returns expr2.
3// Seeing things through an if statement helps me build this sort of mental shortcut.
4function and(expr1, expr2) {
5if (Boolean(expr1) === true) {
-
-
myWordEditor
myWordEditor PublicForked from scripting/myWordEditor
A simple silo-free blogging tool that creates beautiful essay pages.
JavaScript
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.