[ Web Proxy ]
URL:
Viewing:
https://fa.javascript.info/tutorial/map
[Back]
[Original]
Show tasks
(Specification)
!
alert
alert
use strict
?
: alert prompt confirm
: if '?'
if ( )
'if' '?'
'if..else' '?'
OR
alert OR
AND
alert AND
OR AND OR
"if"
login
Nullish coalescing '??'
: while for
"for"
"for" "while"
"switch"
"switch" "if"
"if" "switch"
(Functions)
"else"
'?' '||'
min(a, b)
pow(x,n)
Expression
Arrow functions
Arrow Function
Bad style
Mocha
()
:
2
"this"
"this"
"new"
-
optional chaining '?.'
(Symbol type)
6.35.toFixed(1) == 6.3?
.
border-left-width borderLeftWidth
Map, Set, WeakMap and WeakSet
Map Set
WeakMap WeakSet
Object.keys values entries
JSON toJSON
Output a single-linked list
if
"var"
NFE
"new Function"
: setTimeout setInterval
setTimeout ?
call/apply
bind
"this"
getter setter
F.prototype
"prototype"
(Native prototypes)
"f.defer(ms)"
"defer()"
__proto__
toString
Class Object
: "instanceof"
instanceof
Mixin
"try...catch"
finally
Error
SyntaxError
Promises async/await
:
Promise
Promise resolve
Promise
Promise
Promise
Promise: then catch
promise
setTimeout
Promise API
(Promisification)
Microtasks
Async/await
async/await
"rethrow" async/await
async non-async
Generator
Generators
generator
Async iteration and generators
Export Import
Import
Proxy and Reflect
Error on reading non-existent property
Accessing array[-1]
Observable
Eval:
Eval-calculator
Reference Type
"this" .
BigInt
: Document Event
Document
(Specs)
DOM
Walking the DOM
DOM children
The sibling question
Select all diagonal cells
: *getElement *querySelector
element
Node properties: type, tag and contents
Count descendants
What's in the nodeType?
Tag in comment
Where's the "document" in the hierarchy?
Attributes and properties
Get the attribute
Make external links orange
Modifying the document
createTextNode vs innerHTML vs textContent
Clear the element
Why does "aaa" remain?
Create a list
Create a tree from the object
Show descendants in a tree
Create a calendar
Colored clock with setInterval
Insert the HTML in the list
Sort the table
Styles and classes
Create a notification
Element size and scrolling
What's the scroll from the bottom?
What is the scrollbar width?
Place the ball in the field center
The difference: CSS width versus clientWidth
Window sizes and scrolling
Coordinates
Find window coordinates of the field
Show a note near the element
Show a note near the element (absolute)
Position the note inside (absolute)
Events
Event delegation
Hide messages with delegation
Tree menu
Sortable table
Tooltip behavior
Why "return false" doesn't work?
Catch links in the element
Image gallery
Dispatch event
Event
: / /
""
Drag'n'Drop with mouse events
Slider
Drag superheroes around the field
Pointer events
Keyboard: keydown and keyup
Extended hotkeys
(Scrolling)
Form properties methods
option select
Focus: /
div
TD click
Events: change, input, cut, copy, paste
: event method submit
Modal form
Document
Page: DOMContentLoaded, load, beforeunload, unload
Scripts: async, defer
Resource loading: onload and onerror
Load images with a callback
Mutation observer
Selection Range
Event loop: microtasks macrotasks
What will be the output of this code?
Frame
clickjacking
Binary
ArrayBuffer,
typed
Blob
File and FileReader
Fetch
FormData
Fetch: Download progress
Fetch: Abort
Fetch: Cross-Origin Requests
Why do we need Origin?
Fetch API
URL objects
XMLHttpRequest
Resumable file upload
Long polling
Server Sent Events
Cookies, document.cookie
LocalStorage, sessionStorage
IndexedDB
Bezier
CSS
Animate a plane (CSS)
Animate the flying plane (CSS)
Animated circle
JavaScript
Animate the bouncing ball
Animate the ball bouncing to the right
Custom elements
Live timer element
Shadow DOM
Template element ( )
Shadow DOM slots, composition
Shadow DOM styling
Shadow DOM and events
(Regular Expression)
(Patterns and flags)
(Character classes)
: "u" {...}p\
anchor: ^ $
Regexp ^$
anchors ^ $ flag "m"
Word boundary: \b
Find the time
Escaping, special characters
Sets and ranges [...]
Java[^script]
Find the time as hh:mm or hh-mm
Quantifiers +, *, ? and {n}
How to find an ellipsis "..." ?
Regexp for HTML colors
Greedy and lazy quantifiers
A match for /d+? d+?/
Find HTML comments
Find HTML tags
Capturing groups
Check MAC-address
Find color in the format #abc or #abcdef
Find all numbers
Parse an expression
Backreferences in pattern: \N and \k<name>
Alternation (OR) |
Find programming languages
Find bbtag pairs
Find quoted strings
Find the full tag
Lookahead and lookbehind
Find non-negative integers
Insert After Head
Lookahead (in progress)
Catastrophic backtracking
Sticky flag "y", searching at position
Methods of RegExp and String
Web Proxy Viewer |
New URL
|
Original Page