javascript tome v
Transcription
javascript tome v
J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV J.B. Dadet DIASOLUKA Luyalu Nzoyifuanga J AVA S C R I P T V O L . I I I +243 - 851278216 - 899508675 - 991239212 - 902263541 - 813572818 CHAPITRE 5 : BREF APERÇU SUR LES OBJETS : Pour énumérer les propriétés de l’objet window, tapez window au prompt de la console : Avec FireFox : Window [default properties] AbortController: function () AbortSignal: function () AnalyserNode: function () Animation: function () AnimationEvent: function () Array: function Array() ArrayBuffer: function ArrayBuffer() Attr: function () Audio: function Audio() AudioBuffer: function () AudioBufferSourceNode: function () AudioContext: function () AudioDestinationNode: function () AudioListener: function () AudioNode: function () AudioParam: function () AudioProcessingEvent: function () AudioScheduledSourceNode: function () AudioStreamTrack: function () BarProp: function () BaseAudioContext: function () BatteryManager: function () BeforeUnloadEvent: function () BiquadFilterNode: function () Blob: function () Variables & Functions 1 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu BlobEvent: function () Boolean: function Boolean() BroadcastChannel: function () CDATASection: function () CSS: function () CSS2Properties: function () CSSConditionRule: function () CSSCounterStyleRule: function () CSSFontFaceRule: function () CSSFontFeatureValuesRule: function () CSSGroupingRule: function () CSSImportRule: function () CSSKeyframeRule: function () CSSKeyframesRule: function () CSSMediaRule: function () CSSMozDocumentRule: function () CSSNamespaceRule: function () CSSPageRule: function () CSSPrimitiveValue: function () CSSRule: function () CSSRuleList: function () CSSStyleDeclaration: function () CSSStyleRule: function () CSSStyleSheet: function () CSSSupportsRule: function () CSSValue: function () CSSValueList: function () Cache: function () CacheStorage: function () CanvasCaptureMediaStream: function () CanvasGradient: function () CanvasPattern: function () CanvasRenderingContext2D: function () CaretPosition: function () ChannelMergerNode: function () ChannelSplitterNode: function () CharacterData: function () ClipboardEvent: function () CloseEvent: function () Comment: function () CompositionEvent: function () ConstantSourceNode: function () ConvolverNode: function () Crypto: function () CryptoKey: function () Variables & Functions 2 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV CustomEvent: function () DOMCursor: function () DOMError: function () DOMException: function () DOMImplementation: function () DOMMatrix: function () DOMMatrixReadOnly: function () DOMParser: function () DOMPoint: function () DOMPointReadOnly: function () DOMQuad: function () DOMRect: function () DOMRectList: function () DOMRectReadOnly: function () DOMRequest: function () DOMStringList: function () DOMStringMap: function () DOMTokenList: function () DataChannel: function () DataTransfer: function () DataTransferItem: function () DataTransferItemList: function () DataView: function DataView() Date: function Date() DelayNode: function () DesktopNotification: function () DesktopNotificationCenter: function () DeviceLightEvent: function () DeviceMotionEvent: function () DeviceOrientationEvent: function () DeviceProximityEvent: function () Directory: function () Document: function () DocumentFragment: function () DocumentType: function () DragEvent: function () DynamicsCompressorNode: function () Element: function () Error: function Error() ErrorEvent: function () EvalError: function EvalError() Event: function () EventSource: function () EventTarget: function () External: function () Variables & Functions 3 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV File: function () FileList: function () FileReader: function () FileSystem: function () FileSystemDirectoryEntry: function () FileSystemDirectoryReader: function () FileSystemEntry: function () FileSystemFileEntry: function () Float32Array: function Float32Array() Float64Array: function Float64Array() FocusEvent: function () FontFace: function () FontFaceSet: function () FontFaceSetLoadEvent: function () FormData: function () Function: function Function() GainNode: function () Gamepad: function () GamepadButton: function () GamepadEvent: function () GamepadHapticActuator: function () GamepadPose: function () HTMLAllCollection: function () HTMLAnchorElement: function () HTMLAreaElement: function () HTMLAudioElement: function () HTMLBRElement: function () HTMLBaseElement: function () HTMLBodyElement: function () HTMLButtonElement: function () HTMLCanvasElement: function () HTMLCollection: function () HTMLDListElement: function () HTMLDataElement: function () HTMLDataListElement: function () HTMLDetailsElement: function () HTMLDirectoryElement: function () HTMLDivElement: function () HTMLDocument: function () HTMLElement: function () HTMLEmbedElement: function () HTMLFieldSetElement: function () HTMLFontElement: function () HTMLFormControlsCollection: function () HTMLFormElement: function () Variables & Functions 4 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu HTMLFrameElement: function () HTMLFrameSetElement: function () HTMLHRElement: function () HTMLHeadElement: function () HTMLHeadingElement: function () HTMLHtmlElement: function () HTMLIFrameElement: function () HTMLImageElement: function () HTMLInputElement: function () HTMLLIElement: function () HTMLLabelElement: function () HTMLLegendElement: function () HTMLLinkElement: function () HTMLMapElement: function () HTMLMediaElement: function () HTMLMenuElement: function () HTMLMenuItemElement: function () HTMLMetaElement: function () HTMLMeterElement: function () HTMLModElement: function () HTMLOListElement: function () HTMLObjectElement: function () HTMLOptGroupElement: function () HTMLOptionElement: function () HTMLOptionsCollection: function () HTMLOutputElement: function () HTMLParagraphElement: function () HTMLParamElement: function () HTMLPictureElement: function () HTMLPreElement: function () HTMLProgressElement: function () HTMLQuoteElement: function () HTMLScriptElement: function () HTMLSelectElement: function () HTMLSourceElement: function () HTMLSpanElement: function () HTMLStyleElement: function () HTMLTableCaptionElement: function () HTMLTableCellElement: function () HTMLTableColElement: function () HTMLTableElement: function () HTMLTableRowElement: function () HTMLTableSectionElement: function () HTMLTemplateElement: function () HTMLTextAreaElement: function () Variables & Functions 5 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV HTMLTimeElement: function () HTMLTitleElement: function () HTMLTrackElement: function () HTMLUListElement: function () HTMLUnknownElement: function () HTMLVideoElement: function () HashChangeEvent: function () Headers: function () History: function () IDBCursor: function () IDBCursorWithValue: function () IDBDatabase: function () IDBFactory: function () IDBFileHandle: function () IDBFileRequest: function () IDBIndex: function () IDBKeyRange: function () IDBMutableFile: function () IDBObjectStore: function () IDBOpenDBRequest: function () IDBRequest: function () IDBTransaction: function () IDBVersionChangeEvent: function () IIRFilterNode: function () IdleDeadline: function () Image: function Image() ImageBitmap: function () ImageBitmapRenderingContext: function () ImageData: function () Infinity: Infinity InputEvent: function () InstallTrigger: InstallTriggerImpl { } Int16Array: function Int16Array() Int32Array: function Int32Array() Int8Array: function Int8Array() InternalError: function InternalError() IntersectionObserver: function () IntersectionObserverEntry: function () Intl: Object { … } JSON: JSON { … } KeyEvent: function () KeyboardEvent: function () LocalMediaStream: function () Location: function () Map: function Map() Variables & Functions 6 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Math: Math { … } MediaDeviceInfo: function () MediaDevices: function () MediaElementAudioSourceNode: function () MediaEncryptedEvent: function () MediaError: function () MediaKeyError: function () MediaKeyMessageEvent: function () MediaKeySession: function () MediaKeyStatusMap: function () MediaKeySystemAccess: function () MediaKeys: function () MediaList: function () MediaQueryList: function () MediaQueryListEvent: function () MediaRecorder: function () MediaRecorderErrorEvent: function () MediaSource: function () MediaStream: function () MediaStreamAudioDestinationNode: function () MediaStreamAudioSourceNode: function () MediaStreamEvent: function () MediaStreamTrack: function () MediaStreamTrackEvent: function () MessageChannel: function () MessageEvent: function () MessagePort: function () MimeType: function () MimeTypeArray: function () MouseEvent: function () MouseScrollEvent: function () MutationEvent: function () MutationObserver: function () MutationRecord: function () NaN: NaN NamedNodeMap: function () Navigator: function () Node: function () NodeFilter: function () NodeIterator: function () NodeList: function () Notification: function () NotifyPaintEvent: function () Number: function Number() Object: function Object() Variables & Functions 7 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV OfflineAudioCompletionEvent: function () OfflineAudioContext: function () OfflineResourceList: function () Option: function Option() OscillatorNode: function () PageTransitionEvent: function () PaintRequest: function () PaintRequestList: function () PannerNode: function () Path2D: function () Performance: function () PerformanceEntry: function () PerformanceMark: function () PerformanceMeasure: function () PerformanceNavigation: function () PerformanceObserver: function () PerformanceObserverEntryList: function () PerformanceResourceTiming: function () PerformanceTiming: function () PeriodicWave: function () PermissionStatus: function () Permissions: function () Plugin: function () PluginArray: function () PopStateEvent: function () PopupBlockedEvent: function () ProcessingInstruction: function () ProgressEvent: function () Promise: function Promise() Proxy: function Proxy() PushManager: function () PushSubscription: function () PushSubscriptionOptions: function () RGBColor: function () RTCCertificate: function () RTCDTMFSender: function () RTCDTMFToneChangeEvent: function () RTCDataChannelEvent: function () RTCIceCandidate: function () RTCPeerConnection: function () RTCPeerConnectionIceEvent: function () RTCRtpReceiver: function () RTCRtpSender: function () RTCSessionDescription: function () RTCStatsReport: function () Variables & Functions 8 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV RTCTrackEvent: function () RadioNodeList: function () Range: function () RangeError: function RangeError() Rect: function () ReferenceError: function ReferenceError() Reflect: Object { … } RegExp: function RegExp() Request: function () Response: function () SVGAElement: function () SVGAngle: function () SVGAnimateElement: function () SVGAnimateMotionElement: function () SVGAnimateTransformElement: function () SVGAnimatedAngle: function () SVGAnimatedBoolean: function () SVGAnimatedEnumeration: function () SVGAnimatedInteger: function () SVGAnimatedLength: function () SVGAnimatedLengthList: function () SVGAnimatedNumber: function () SVGAnimatedNumberList: function () SVGAnimatedPreserveAspectRatio: function () SVGAnimatedRect: function () SVGAnimatedString: function () SVGAnimatedTransformList: function () SVGAnimationElement: function () SVGCircleElement: function () SVGClipPathElement: function () SVGComponentTransferFunctionElement: function () SVGDefsElement: function () SVGDescElement: function () SVGElement: function () SVGEllipseElement: function () SVGFEBlendElement: function () SVGFEColorMatrixElement: function () SVGFEComponentTransferElement: function () SVGFECompositeElement: function () SVGFEConvolveMatrixElement: function () SVGFEDiffuseLightingElement: function () SVGFEDisplacementMapElement: function () SVGFEDistantLightElement: function () SVGFEDropShadowElement: function () SVGFEFloodElement: function () Variables & Functions 9 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV SVGFEFuncAElement: function () SVGFEFuncBElement: function () SVGFEFuncGElement: function () SVGFEFuncRElement: function () SVGFEGaussianBlurElement: function () SVGFEImageElement: function () SVGFEMergeElement: function () SVGFEMergeNodeElement: function () SVGFEMorphologyElement: function () SVGFEOffsetElement: function () SVGFEPointLightElement: function () SVGFESpecularLightingElement: function () SVGFESpotLightElement: function () SVGFETileElement: function () SVGFETurbulenceElement: function () SVGFilterElement: function () SVGForeignObjectElement: function () SVGGElement: function () SVGGeometryElement: function () SVGGradientElement: function () SVGGraphicsElement: function () SVGImageElement: function () SVGLength: function () SVGLengthList: function () SVGLineElement: function () SVGLinearGradientElement: function () SVGMPathElement: function () SVGMarkerElement: function () SVGMaskElement: function () SVGMatrix: function () SVGMetadataElement: function () SVGNumber: function () SVGNumberList: function () SVGPathElement: function () SVGPathSeg: function () SVGPathSegArcAbs: function () SVGPathSegArcRel: function () SVGPathSegClosePath: function () SVGPathSegCurvetoCubicAbs: function () SVGPathSegCurvetoCubicRel: function () SVGPathSegCurvetoCubicSmoothAbs: function () SVGPathSegCurvetoCubicSmoothRel: function () SVGPathSegCurvetoQuadraticAbs: function () SVGPathSegCurvetoQuadraticRel: function () SVGPathSegCurvetoQuadraticSmoothAbs: function () Variables & Functions 10 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV SVGPathSegCurvetoQuadraticSmoothRel: function () SVGPathSegLinetoAbs: function () SVGPathSegLinetoHorizontalAbs: function () SVGPathSegLinetoHorizontalRel: function () SVGPathSegLinetoRel: function () SVGPathSegLinetoVerticalAbs: function () SVGPathSegLinetoVerticalRel: function () SVGPathSegList: function () SVGPathSegMovetoAbs: function () SVGPathSegMovetoRel: function () SVGPatternElement: function () SVGPoint: function () SVGPointList: function () SVGPolygonElement: function () SVGPolylineElement: function () SVGPreserveAspectRatio: function () SVGRadialGradientElement: function () SVGRect: function () SVGRectElement: function () SVGSVGElement: function () SVGScriptElement: function () SVGSetElement: function () SVGStopElement: function () SVGStringList: function () SVGStyleElement: function () SVGSwitchElement: function () SVGSymbolElement: function () SVGTSpanElement: function () SVGTextContentElement: function () SVGTextElement: function () SVGTextPathElement: function () SVGTextPositioningElement: function () SVGTitleElement: function () SVGTransform: function () SVGTransformList: function () SVGUnitTypes: function () SVGUseElement: function () SVGViewElement: function () SVGZoomAndPan: function () Screen: function () ScreenOrientation: function () ScriptProcessorNode: function () ScrollAreaEvent: function () Selection: function () ServiceWorker: function () Variables & Functions 11 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV ServiceWorkerContainer: function () ServiceWorkerRegistration: function () Set: function Set() SharedWorker: function () SourceBuffer: function () SourceBufferList: function () SpeechSynthesis: function () SpeechSynthesisErrorEvent: function () SpeechSynthesisEvent: function () SpeechSynthesisUtterance: function () SpeechSynthesisVoice: function () StereoPannerNode: function () StopIteration: StopIteration { } Storage: function () StorageEvent: function () StorageManager: function () String: function String() StyleSheet: function () StyleSheetList: function () SubtleCrypto: function () Symbol: function Symbol() SyntaxError: function SyntaxError() Text: function () TextDecoder: function () TextEncoder: function () TextMetrics: function () TextTrack: function () TextTrackCue: function () TextTrackCueList: function () TextTrackList: function () TimeEvent: function () TimeRanges: function () TrackEvent: function () TransitionEvent: function () TreeWalker: function () TypeError: function TypeError() UIEvent: function () URIError: function URIError() URL: function () URLSearchParams: function () Uint16Array: function Uint16Array() Uint32Array: function Uint32Array() Uint8Array: function Uint8Array() Uint8ClampedArray: function Uint8ClampedArray() UserProximityEvent: function () Variables & Functions 12 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV VRDisplay: function () VRDisplayCapabilities: function () VRDisplayEvent: function () VREyeParameters: function () VRFieldOfView: function () VRFrameData: function () VRPose: function () VRStageParameters: function () VTTCue: function () ValidityState: function () VideoPlaybackQuality: function () VideoStreamTrack: function () WaveShaperNode: function () WeakMap: function WeakMap() WeakSet: function WeakSet() WebAssembly: WebAssembly { … } WebGL2RenderingContext: function () WebGLActiveInfo: function () WebGLBuffer: function () WebGLContextEvent: function () WebGLFramebuffer: function () WebGLProgram: function () WebGLQuery: function () WebGLRenderbuffer: function () WebGLRenderingContext: function () WebGLSampler: function () WebGLShader: function () WebGLShaderPrecisionFormat: function () WebGLSync: function () WebGLTexture: function () WebGLTransformFeedback: function () WebGLUniformLocation: function () WebGLVertexArrayObject: function () WebKitCSSMatrix: function () WebSocket: function () WheelEvent: function () Window: function () Worker: function () XMLDocument: function () XMLHttpRequest: function () XMLHttpRequestEventTarget: function () XMLHttpRequestUpload: function () XMLSerializer: function () XMLStylesheetProcessingInstruction: function () XPathEvaluator: function () Variables & Functions 13 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV XPathExpression: function () XPathResult: function () XSLTProcessor: function () alert: function alert() applicationCache: OfflineResourceList { status: 0, onchecking: null, length: 0, … } atob: function atob() blur: function blur() btoa: function btoa() caches: CacheStorage { } cancelAnimationFrame: function cancelAnimationFrame() cancelIdleCallback: function cancelIdleCallback() captureEvents: function captureEvents() clearInterval: function clearInterval() clearTimeout: function clearTimeout() close: function close() closed: false confirm: function confirm() console: Console { assert: assert(), clear: clear(), count: count(), … } content: Window file:///K:/DADET/PROGS/test.html createImageBitmap: function createImageBitmap() crypto: Crypto { subtle: SubtleCrypto } decodeURI: function decodeURI() decodeURIComponent: function decodeURIComponent() devicePixelRatio: 1 document: HTMLDocument file:///K:/DADET/PROGS/test.html dump: function dump() encodeURI: function encodeURI() encodeURIComponent: function encodeURIComponent() escape: function escape() eval: function eval() external: External { } fetch: function fetch() find: function find() focus: function focus() frameElement: null frames: Window file:///K:/DADET/PROGS/test.html fullScreen: false getComputedStyle: function getComputedStyle() getDefaultComputedStyle: function getDefaultComputedStyle() getSelection: function getSelection() history: History { length: 2, scrollRestoration: "auto", state: null } Variables & Functions 14 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV indexedDB: IDBFactory { } innerHeight: 726 innerWidth: 287 isFinite: function isFinite() isNaN: function isNaN() isSecureContext: true length: 0 localStorage: Storage { length: 0 } location: Location file:///K:/DADET/PROGS/test.html locationbar: BarProp { visible: true } matchMedia: function matchMedia() menubar: BarProp { visible: true } moveBy: function moveBy() moveTo: function moveTo() mozInnerScreenX: 1135 mozInnerScreenY: 211 mozPaintCount: 81 mozRTCIceCandidate: function () mozRTCPeerConnection: function () mozRTCSessionDescription: function () name: "" navigator: Navigator { doNotTrack: "unspecified", oscpu: "Windows NT 6.1; Win64; x64", productSub: "20100101", … } netscape: Object { … } onabort: null onabsolutedeviceorientation: null onafterprint: null onanimationcancel: null onanimationend: null onanimationiteration: null onanimationstart: null onauxclick: null onbeforeprint: null onbeforeunload: null onblur: null oncanplay: null oncanplaythrough: null onchange: null onclick: null onclose: null oncontextmenu: null ondblclick: null ondevicelight: null ondevicemotion: null ondeviceorientation: null Variables & Functions 15 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu ondeviceproximity: null ondrag: null ondragend: null ondragenter: null ondragexit: null ondragleave: null ondragover: null ondragstart: null ondrop: null ondurationchange: null onemptied: null onended: null onerror: null onfocus: null onhashchange: null oninput: null oninvalid: null onkeydown: null onkeypress: null onkeyup: null onlanguagechange: null onload: null onloadeddata: null onloadedmetadata: null onloadend: null onloadstart: null onmessage: null onmessageerror: null onmousedown: null onmouseenter: null onmouseleave: null onmousemove: null onmouseout: null onmouseover: null onmouseup: null onmozfullscreenchange: null onmozfullscreenerror: null onoffline: null ononline: null onpagehide: null onpageshow: null onpause: null onplay: null onplaying: null onpopstate: null Variables & Functions 16 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV onprogress: null onratechange: null onreset: null onresize: null onscroll: null onseeked: null onseeking: null onselect: null onselectstart: null onshow: null onstalled: null onstorage: null onsubmit: null onsuspend: null ontimeupdate: null ontoggle: null ontransitioncancel: null ontransitionend: null ontransitionrun: null ontransitionstart: null onunload: null onuserproximity: null onvolumechange: null onvrdisplayactivate: null onvrdisplayconnect: null onvrdisplaydeactivate: null onvrdisplaydisconnect: null onvrdisplaypresentchange: null onwaiting: null onwebkitanimationend: null onwebkitanimationiteration: null onwebkitanimationstart: null onwebkittransitionend: null onwheel: null open: function open() opener: null origin: "null" outerHeight: 847 outerWidth: 766 pageXOffset: 0 pageYOffset: 0 parent: Window file:///K:/DADET/PROGS/test.html parseFloat: function parseFloat() parseInt: function parseInt() performance: Performance { timeOrigin: 1516556904301.483, Variables & Functions 17 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV timing: PerformanceTiming, navigation: PerformanceNavigation, … } personalbar: BarProp { visible: true } postMessage: function postMessage() print: function print() prompt: function prompt() releaseEvents: function releaseEvents() requestAnimationFrame: function requestAnimationFrame() requestIdleCallback: function requestIdleCallback() resizeBy: function resizeBy() resizeTo: function resizeTo() screen: Screen { availWidth: 1858, availHeight: 1080, width: 1920, … } screenX: 1128 screenY: 97 scroll: function scroll() scrollBy: function scrollBy() scrollByLines: function scrollByLines() scrollByPages: function scrollByPages() scrollMaxX: 0 scrollMaxY: 0 scrollTo: function scrollTo() scrollX: 0 scrollY: 0 scrollbars: BarProp { visible: true } self: Window file:///K:/DADET/PROGS/test.html sessionStorage: Storage { "savefrom-helper-extension": "1", length: 1 } setInterval: function setInterval() setResizable: function setResizable() setTimeout: function setTimeout() sidebar: External { } sizeToContent: function sizeToContent() speechSynthesis: SpeechSynthesis { pending: false, speaking: false, paused: false, … } status: "" statusbar: BarProp { visible: true } stop: function stop() toolbar: BarProp { visible: true } top: Window file:///K:/DADET/PROGS/test.html undefined: undefined unescape: function unescape() uneval: function uneval() updateCommands: function updateCommands() window: Window file:///K:/DADET/PROGS/test.html Variables & Functions 18 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV __proto__: WindowPrototype constructor: function () __proto__: WindowProperties __proto__: EventTargetPrototype { addEventListener: addEventListener(), removeEventListener: removeEventListener(), dispatchEvent: dispatchEvent(), … } Avec YANDEX : Window {frames: Window, postMessage: ƒ, blur: ƒ, focus: ƒ, close: ƒ, …} alert: ƒ alert() applicationCache: ApplicationCache {status: 0, onchecking: null, onerror: null, onnoupdate: null, ondownloading: null, …} atob: ƒ atob() blur: ƒ () btoa: ƒ btoa() caches: CacheStorage {} cancelAnimationFrame: ƒ cancelAnimationFrame() cancelIdleCallback: ƒ cancelIdleCallback() captureEvents: ƒ captureEvents() chrome: {app: {…}, webstore: {…}, loadTimes: ƒ, csi: ƒ} cid: 10 ciz: 14 clearInterval: ƒ clearInterval() clearTimeout: ƒ clearTimeout() clientInformation: Navigator {vendorSub: "", productSub: "20030107", vendor: "Google Inc.", maxTouchPoints: 0, hardwareConcurrency: 4, …} close: ƒ () closed: false confirm: ƒ confirm() createImageBitmap: ƒ createImageBitmap() crypto: Crypto {subtle: SubtleCrypto} customElements: CustomElementRegistry {} defaultStatus: "" defaultstatus: "" devicePixelRatio: 1 document: document external: External {} fetch: ƒ fetch() Variables & Functions 19 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV find: ƒ find() focus: ƒ () frameElement: null frames: Window {frames: Window, postMessage: ƒ, blur: ƒ, focus: ƒ, close: ƒ, …} getComputedStyle: ƒ getComputedStyle() getMatchedCSSRules: ƒ getMatchedCSSRules() getSelection: ƒ getSelection() history: History {length: 1, scrollRestoration: "auto", state: null} indexedDB: IDBFactory {} innerHeight: 770 innerWidth: 535 isSecureContext: true k: 250 length: 0 localStorage: Storage {/E:/TXT/TXT35/EventTarget.html#answered-helpful: "1530715286601", google_experiment_mod: "137", google_pub_config: "{"sraConfigs":{"2":{"sraTimeout":60000},"4":{"sraTimeout":60000}}} ", helpfulnessTracker: "1515768086601", se:fkey: "2f17bdd0a4ab7a94724b1e90e6ebd0c2,1515768510", …} location: Location {href: "file:///K:/DADET/PROGS/test.html", ancestorOrigins: DOMStringList, origin: "file://", replace: ƒ, assign: ƒ, …} locationbar: BarProp {visible: true} matchMedia: ƒ matchMedia() maxid: 10 maxiz: 14 menubar: BarProp {visible: true} mi: 250 minid: 1 miniz: 1 moveBy: ƒ moveBy() moveTo: ƒ moveTo() name: "" navigator: Navigator {vendorSub: "", productSub: "20030107", vendor: "Google Inc.", maxTouchPoints: 0, hardwareConcurrency: 4, …} onabort: null onanimationend: null onanimationiteration: null onanimationstart: null onappinstalled: null Variables & Functions 20 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu onauxclick: null onbeforeinstallprompt: null onbeforeunload: null onblur: null oncancel: null oncanplay: null oncanplaythrough: null onchange: null onclick: null onclose: null oncontextmenu: null oncuechange: null ondblclick: null ondevicemotion: null ondeviceorientation: null ondeviceorientationabsolute: null ondrag: null ondragend: null ondragenter: null ondragleave: null ondragover: null ondragstart: null ondrop: null ondurationchange: null onelementpainted: null onemptied: null onended: null onerror: null onfocus: null ongotpointercapture: null onhashchange: null oninput: null oninvalid: null onkeydown: null onkeypress: null onkeyup: null onlanguagechange: null onload: null onloadeddata: null onloadedmetadata: null onloadstart: null onlostpointercapture: null onmessage: null onmessageerror: null onmousedown: null Variables & Functions 21 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu onmouseenter: null onmouseleave: null onmousemove: null onmouseout: null onmouseover: null onmouseup: null onmousewheel: null onoffline: null ononline: null onpagehide: null onpageshow: null onpause: null onplay: null onplaying: null onpointercancel: null onpointerdown: null onpointerenter: null onpointerleave: null onpointermove: null onpointerout: null onpointerover: null onpointerup: null onpopstate: null onprogress: null onratechange: null onrejectionhandled: null onreset: null onresize: null onscroll: null onsearch: null onseeked: null onseeking: null onselect: null onstalled: null onstorage: null onsubmit: null onsuspend: null ontimeupdate: null ontoggle: null ontransitionend: null onunhandledrejection: null onunload: null onvolumechange: null onwaiting: null onwebkitanimationend: null Variables & Functions 22 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV onwebkitanimationiteration: null onwebkitanimationstart: null onwebkittransitionend: null onwheel: null open: ƒ open() openDatabase: ƒ openDatabase() opener: null origin: "null" outerHeight: 866 outerWidth: 1090 pageXOffset: 0 pageYOffset: 0 parent: Window {frames: Window, postMessage: ƒ, blur: ƒ, focus: ƒ, close: ƒ, …} performance: Performance {timeOrigin: 1516549720768.947, onresourcetimingbufferfull: null, timing: PerformanceTiming, navigation: PerformanceNavigation, memory: MemoryInfo} personalbar: BarProp {visible: true} postMessage: ƒ () print: ƒ print() prompt: ƒ prompt() releaseEvents: ƒ releaseEvents() requestAnimationFrame: ƒ requestAnimationFrame() requestIdleCallback: ƒ requestIdleCallback() resizeBy: ƒ resizeBy() resizeTo: ƒ resizeTo() screen: Screen {availWidth: 1858, availHeight: 1080, width: 1920, height: 1080, colorDepth: 24, …} screenLeft: 163 screenTop: 25 screenX: 163 screenY: 25 scroll: ƒ scroll() scrollBy: ƒ scrollBy() scrollTo: ƒ scrollTo() scrollX: 0 scrollY: 0 scrollbars: BarProp {visible: true} self: Window {frames: Window, postMessage: ƒ, blur: ƒ, focus: ƒ, close: ƒ, …} sessionStorage: Storage {length: 0} setInterval: ƒ setInterval() setTimeout: ƒ setTimeout() speechSynthesis: SpeechSynthesis {pending: false, speakVariables & Functions 23 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV ing: false, paused: false, onvoiceschanged: null} status: "" statusbar: BarProp {visible: true} stop: ƒ stop() styleMedia: StyleMedia {type: "screen"} toolbar: BarProp {visible: true} top: Window {frames: Window, postMessage: ƒ, blur: ƒ, focus: ƒ, close: ƒ, …} v: 2 visualViewport: VisualViewport {offsetLeft: 0, offsetTop: 0, pageLeft: 0, pageTop: 0, width: 535, …} webkitCancelAnimationFrame: ƒ webkitCancelAnimationFrame() webkitRequestAnimationFrame: ƒ webkitRequestAnimationFrame() webkitRequestFileSystem: ƒ webkitRequestFileSystem() webkitResolveLocalFileSystemURL: ƒ webkitResolveLocalFileSystemURL() webkitStorageInfo: DeprecatedStorageInfo {} window: Window {frames: Window, postMessage: ƒ, blur: ƒ, focus: ƒ, close: ƒ, …} yandex: {experiments: undefined, media: {…}, readability: {…}, passman: undefined, searchband: undefined, …} Infinity: Infinity AnalyserNode: ƒ AnalyserNode() AnimationEvent: ƒ AnimationEvent() ApplicationCache: ƒ ApplicationCache() ApplicationCacheErrorEvent: ƒ ApplicationCacheErrorEvent() Array: ƒ Array() ArrayBuffer: ƒ ArrayBuffer() Attr: ƒ Attr() Audio: ƒ Audio() AudioBuffer: ƒ AudioBuffer() AudioBufferSourceNode: ƒ AudioBufferSourceNode() AudioContext: ƒ AudioContext() AudioDestinationNode: ƒ AudioDestinationNode() AudioListener: ƒ AudioListener() AudioNode: ƒ AudioNode() AudioParam: ƒ AudioParam() AudioProcessingEvent: ƒ AudioProcessingEvent() AudioScheduledSourceNode: ƒ AudioScheduledSourceNode() BarProp: ƒ BarProp() BaseAudioContext: ƒ BaseAudioContext() BatteryManager: ƒ BatteryManager() BeforeInstallPromptEvent: ƒ BeforeInstallPromptEvent() BeforeUnloadEvent: ƒ BeforeUnloadEvent() Variables & Functions 24 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV BiquadFilterNode: ƒ BiquadFilterNode() Blob: ƒ Blob() BlobEvent: ƒ BlobEvent() Boolean: ƒ Boolean() BroadcastChannel: ƒ BroadcastChannel() BudgetService: ƒ BudgetService() ByteLengthQueuingStrategy: ƒ ByteLengthQueuingStrategy() CDATASection: ƒ CDATASection() CSS: ƒ CSS() CSSConditionRule: ƒ CSSConditionRule() CSSFontFaceRule: ƒ CSSFontFaceRule() CSSGroupingRule: ƒ CSSGroupingRule() CSSImportRule: ƒ CSSImportRule() CSSKeyframeRule: ƒ CSSKeyframeRule() CSSKeyframesRule: ƒ CSSKeyframesRule() CSSMediaRule: ƒ CSSMediaRule() CSSNamespaceRule: ƒ CSSNamespaceRule() CSSPageRule: ƒ CSSPageRule() CSSRule: ƒ CSSRule() CSSRuleList: ƒ CSSRuleList() CSSStyleDeclaration: ƒ CSSStyleDeclaration() CSSStyleRule: ƒ CSSStyleRule() CSSStyleSheet: ƒ CSSStyleSheet() CSSSupportsRule: ƒ CSSSupportsRule() CSSViewportRule: ƒ CSSViewportRule() Cache: ƒ Cache() CacheStorage: ƒ CacheStorage() CanvasCaptureMediaStreamTrack: ƒ CanvasCaptureMediaStreamTrack() CanvasGradient: ƒ CanvasGradient() CanvasPattern: ƒ CanvasPattern() CanvasRenderingContext2D: ƒ CanvasRenderingContext2D() ChannelMergerNode: ƒ ChannelMergerNode() ChannelSplitterNode: ƒ ChannelSplitterNode() CharacterData: ƒ CharacterData() Clipboard: ƒ Clipboard() ClipboardEvent: ƒ ClipboardEvent() CloseEvent: ƒ CloseEvent() Comment: ƒ Comment() CompositionEvent: ƒ CompositionEvent() ConstantSourceNode: ƒ ConstantSourceNode() ConvolverNode: ƒ ConvolverNode() CountQueuingStrategy: ƒ CountQueuingStrategy() Crypto: ƒ Crypto() Variables & Functions 25 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV CryptoKey: ƒ CryptoKey() CustomElementRegistry: ƒ CustomElementRegistry() CustomEvent: ƒ CustomEvent() DOMError: ƒ DOMError() DOMException: ƒ DOMException() DOMImplementation: ƒ DOMImplementation() DOMMatrix: ƒ DOMMatrix() DOMMatrixReadOnly: ƒ DOMMatrixReadOnly() DOMParser: ƒ DOMParser() DOMPoint: ƒ DOMPoint() DOMPointReadOnly: ƒ DOMPointReadOnly() DOMQuad: ƒ DOMQuad() DOMRect: ƒ DOMRect() DOMRectReadOnly: ƒ DOMRectReadOnly() DOMStringList: ƒ DOMStringList() DOMStringMap: ƒ DOMStringMap() DOMTokenList: ƒ DOMTokenList() DataTransfer: ƒ DataTransfer() DataTransferItem: ƒ DataTransferItem() DataTransferItemList: ƒ DataTransferItemList() DataView: ƒ DataView() Date: ƒ Date() DelayNode: ƒ DelayNode() DeviceMotionEvent: ƒ DeviceMotionEvent() DeviceOrientationEvent: ƒ DeviceOrientationEvent() Document: ƒ Document() DocumentFragment: ƒ DocumentFragment() DocumentType: ƒ DocumentType() DragEvent: ƒ DragEvent() DynamicsCompressorNode: ƒ DynamicsCompressorNode() Element: ƒ Element() ElementPaintEvent: ƒ ElementPaintEvent() Error: ƒ Error() ErrorEvent: ƒ ErrorEvent() EvalError: ƒ EvalError() Event: ƒ Event() EventSource: ƒ EventSource() EventTarget: ƒ EventTarget() File: ƒ File() FileList: ƒ FileList() FileReader: ƒ FileReader() Float32Array: ƒ Float32Array() Float64Array: ƒ Float64Array() FocusEvent: ƒ FocusEvent() FontFace: ƒ FontFace() Variables & Functions 26 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV FontFaceSetLoadEvent: ƒ FontFaceSetLoadEvent() FormData: ƒ FormData() Function: ƒ Function() GainNode: ƒ GainNode() Gamepad: ƒ Gamepad() GamepadButton: ƒ GamepadButton() GamepadEvent: ƒ GamepadEvent() HTMLAllCollection: ƒ HTMLAllCollection() HTMLAnchorElement: ƒ HTMLAnchorElement() HTMLAreaElement: ƒ HTMLAreaElement() HTMLAudioElement: ƒ HTMLAudioElement() HTMLBRElement: ƒ HTMLBRElement() HTMLBaseElement: ƒ HTMLBaseElement() HTMLBodyElement: ƒ HTMLBodyElement() HTMLButtonElement: ƒ HTMLButtonElement() HTMLCanvasElement: ƒ HTMLCanvasElement() HTMLCollection: ƒ HTMLCollection() HTMLContentElement: ƒ HTMLContentElement() HTMLDListElement: ƒ HTMLDListElement() HTMLDataElement: ƒ HTMLDataElement() HTMLDataListElement: ƒ HTMLDataListElement() HTMLDetailsElement: ƒ HTMLDetailsElement() HTMLDialogElement: ƒ HTMLDialogElement() HTMLDirectoryElement: ƒ HTMLDirectoryElement() HTMLDivElement: ƒ HTMLDivElement() HTMLDocument: ƒ HTMLDocument() HTMLElement: ƒ HTMLElement() HTMLEmbedElement: ƒ HTMLEmbedElement() HTMLFieldSetElement: ƒ HTMLFieldSetElement() HTMLFontElement: ƒ HTMLFontElement() HTMLFormControlsCollection: ƒ HTMLFormControlsCollection() HTMLFormElement: ƒ HTMLFormElement() HTMLFrameElement: ƒ HTMLFrameElement() HTMLFrameSetElement: ƒ HTMLFrameSetElement() HTMLHRElement: ƒ HTMLHRElement() HTMLHeadElement: ƒ HTMLHeadElement() HTMLHeadingElement: ƒ HTMLHeadingElement() HTMLHtmlElement: ƒ HTMLHtmlElement() HTMLIFrameElement: ƒ HTMLIFrameElement() HTMLImageElement: ƒ HTMLImageElement() HTMLInputElement: ƒ HTMLInputElement() HTMLLIElement: ƒ HTMLLIElement() HTMLLabelElement: ƒ HTMLLabelElement() HTMLLegendElement: ƒ HTMLLegendElement() HTMLLinkElement: ƒ HTMLLinkElement() Variables & Functions 27 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV HTMLMapElement: ƒ HTMLMapElement() HTMLMarqueeElement: ƒ HTMLMarqueeElement() HTMLMediaElement: ƒ HTMLMediaElement() HTMLMenuElement: ƒ HTMLMenuElement() HTMLMetaElement: ƒ HTMLMetaElement() HTMLMeterElement: ƒ HTMLMeterElement() HTMLModElement: ƒ HTMLModElement() HTMLOListElement: ƒ HTMLOListElement() HTMLObjectElement: ƒ HTMLObjectElement() HTMLOptGroupElement: ƒ HTMLOptGroupElement() HTMLOptionElement: ƒ HTMLOptionElement() HTMLOptionsCollection: ƒ HTMLOptionsCollection() HTMLOutputElement: ƒ HTMLOutputElement() HTMLParagraphElement: ƒ HTMLParagraphElement() HTMLParamElement: ƒ HTMLParamElement() HTMLPictureElement: ƒ HTMLPictureElement() HTMLPreElement: ƒ HTMLPreElement() HTMLProgressElement: ƒ HTMLProgressElement() HTMLQuoteElement: ƒ HTMLQuoteElement() HTMLScriptElement: ƒ HTMLScriptElement() HTMLSelectElement: ƒ HTMLSelectElement() HTMLShadowElement: ƒ HTMLShadowElement() HTMLSlotElement: ƒ HTMLSlotElement() HTMLSourceElement: ƒ HTMLSourceElement() HTMLSpanElement: ƒ HTMLSpanElement() HTMLStyleElement: ƒ HTMLStyleElement() HTMLTableCaptionElement: ƒ HTMLTableCaptionElement() HTMLTableCellElement: ƒ HTMLTableCellElement() HTMLTableColElement: ƒ HTMLTableColElement() HTMLTableElement: ƒ HTMLTableElement() HTMLTableRowElement: ƒ HTMLTableRowElement() HTMLTableSectionElement: ƒ HTMLTableSectionElement() HTMLTemplateElement: ƒ HTMLTemplateElement() HTMLTextAreaElement: ƒ HTMLTextAreaElement() HTMLTimeElement: ƒ HTMLTimeElement() HTMLTitleElement: ƒ HTMLTitleElement() HTMLTrackElement: ƒ HTMLTrackElement() HTMLUListElement: ƒ HTMLUListElement() HTMLUnknownElement: ƒ HTMLUnknownElement() HTMLVideoElement: ƒ HTMLVideoElement() HashChangeEvent: ƒ HashChangeEvent() Headers: ƒ Headers() History: ƒ History() IDBCursor: ƒ IDBCursor() IDBCursorWithValue: ƒ IDBCursorWithValue() Variables & Functions 28 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV IDBDatabase: ƒ IDBDatabase() IDBFactory: ƒ IDBFactory() IDBIndex: ƒ IDBIndex() IDBKeyRange: ƒ IDBKeyRange() IDBObjectStore: ƒ IDBObjectStore() IDBOpenDBRequest: ƒ IDBOpenDBRequest() IDBRequest: ƒ IDBRequest() IDBTransaction: ƒ IDBTransaction() IDBVersionChangeEvent: ƒ IDBVersionChangeEvent() IIRFilterNode: ƒ IIRFilterNode() IdleDeadline: ƒ IdleDeadline() Image: ƒ Image() ImageBitmap: ƒ ImageBitmap() ImageBitmapRenderingContext: ƒ ImageBitmapRenderingContext() ImageCapture: ƒ ImageCapture() ImageData: ƒ ImageData() InputDeviceCapabilities: ƒ InputDeviceCapabilities() InputEvent: ƒ InputEvent() Int8Array: ƒ Int8Array() Int16Array: ƒ Int16Array() Int32Array: ƒ Int32Array() IntersectionObserver: ƒ IntersectionObserver() IntersectionObserverEntry: ƒ IntersectionObserverEntry() Intl: {DateTimeFormat: ƒ, NumberFormat: ƒ, Collator: ƒ, v8BreakIterator: ƒ, getCanonicalLocales: ƒ} JSON: JSON {Symbol(Symbol.toStringTag): "JSON", parse: ƒ, stringify: ƒ} KeyboardEvent: ƒ KeyboardEvent() Location: ƒ Location() MIDIAccess: ƒ MIDIAccess() MIDIConnectionEvent: ƒ MIDIConnectionEvent() MIDIInput: ƒ MIDIInput() MIDIInputMap: ƒ MIDIInputMap() MIDIMessageEvent: ƒ MIDIMessageEvent() MIDIOutput: ƒ MIDIOutput() MIDIOutputMap: ƒ MIDIOutputMap() MIDIPort: ƒ MIDIPort() Map: ƒ Map() Math: Math {abs: ƒ, acos: ƒ, acosh: ƒ, asin: ƒ, asinh: ƒ, …} MediaDeviceInfo: ƒ MediaDeviceInfo() MediaDevices: ƒ MediaDevices() MediaElementAudioSourceNode: ƒ MediaElementAudioSourceNode() Variables & Functions 29 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV MediaEncryptedEvent: ƒ MediaEncryptedEvent() MediaError: ƒ MediaError() MediaKeyMessageEvent: ƒ MediaKeyMessageEvent() MediaKeySession: ƒ MediaKeySession() MediaKeyStatusMap: ƒ MediaKeyStatusMap() MediaKeySystemAccess: ƒ MediaKeySystemAccess() MediaKeys: ƒ MediaKeys() MediaList: ƒ MediaList() MediaQueryList: ƒ MediaQueryList() MediaQueryListEvent: ƒ MediaQueryListEvent() MediaRecorder: ƒ MediaRecorder() MediaSettingsRange: ƒ MediaSettingsRange() MediaSource: ƒ MediaSource() MediaStream: ƒ MediaStream() MediaStreamAudioDestinationNode: ƒ MediaStreamAudioDestinationNode() MediaStreamAudioSourceNode: ƒ MediaStreamAudioSourceNode() MediaStreamEvent: ƒ MediaStreamEvent() MediaStreamTrack: ƒ MediaStreamTrack() MediaStreamTrackEvent: ƒ MediaStreamTrackEvent() MessageChannel: ƒ MessageChannel() MessageEvent: ƒ MessageEvent() MessagePort: ƒ MessagePort() MimeType: ƒ MimeType() MimeTypeArray: ƒ MimeTypeArray() MouseEvent: ƒ MouseEvent() MutationEvent: ƒ MutationEvent() MutationObserver: ƒ MutationObserver() MutationRecord: ƒ MutationRecord() NaN: NaN NamedNodeMap: ƒ NamedNodeMap() NavigationPreloadManager: ƒ NavigationPreloadManager() Navigator: ƒ Navigator() NetworkInformation: ƒ NetworkInformation() Node: ƒ Node() NodeFilter: ƒ NodeFilter() NodeIterator: ƒ NodeIterator() NodeList: ƒ NodeList() Notification: ƒ Notification() Number: ƒ Number() Object: ƒ Object() OfflineAudioCompletionEvent: ƒ OfflineAudioCompletionEvent() OfflineAudioContext: ƒ OfflineAudioContext() OoWVideoChangeEvent: ƒ OoWVideoChangeEvent() Variables & Functions 30 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Option: ƒ Option() OscillatorNode: ƒ OscillatorNode() PageTransitionEvent: ƒ PageTransitionEvent() PannerNode: ƒ PannerNode() Path2D: ƒ Path2D() PaymentAddress: ƒ PaymentAddress() PaymentRequest: ƒ PaymentRequest() PaymentRequestUpdateEvent: ƒ PaymentRequestUpdateEvent() PaymentResponse: ƒ PaymentResponse() Performance: ƒ Performance() PerformanceEntry: ƒ PerformanceEntry() PerformanceLongTaskTiming: ƒ PerformanceLongTaskTiming() PerformanceMark: ƒ PerformanceMark() PerformanceMeasure: ƒ PerformanceMeasure() PerformanceNavigation: ƒ PerformanceNavigation() PerformanceNavigationTiming: ƒ PerformanceNavigationTiming() PerformanceObserver: ƒ PerformanceObserver() PerformanceObserverEntryList: ƒ PerformanceObserverEntryList() PerformancePaintTiming: ƒ PerformancePaintTiming() PerformanceResourceTiming: ƒ PerformanceResourceTiming() PerformanceTiming: ƒ PerformanceTiming() PeriodicWave: ƒ PeriodicWave() PermissionStatus: ƒ PermissionStatus() Permissions: ƒ Permissions() PhotoCapabilities: ƒ PhotoCapabilities() Plugin: ƒ Plugin() PluginArray: ƒ PluginArray() PointerEvent: ƒ PointerEvent() PopStateEvent: ƒ PopStateEvent() Presentation: ƒ Presentation() PresentationAvailability: ƒ PresentationAvailability() PresentationConnection: ƒ PresentationConnection() PresentationConnectionAvailableEvent: ƒ PresentationConnectionAvailableEvent() PresentationConnectionCloseEvent: ƒ PresentationConnectionCloseEvent() PresentationConnectionList: ƒ PresentationConnectionList() PresentationReceiver: ƒ PresentationReceiver() PresentationRequest: ƒ PresentationRequest() ProcessingInstruction: ƒ ProcessingInstruction() ProgressEvent: ƒ ProgressEvent() Promise: ƒ Promise() PromiseRejectionEvent: ƒ PromiseRejectionEvent() Variables & Functions 31 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Proxy: ƒ Proxy() PushManager: ƒ PushManager() PushSubscription: ƒ PushSubscription() PushSubscriptionOptions: ƒ PushSubscriptionOptions() RTCCertificate: ƒ RTCCertificate() RTCDataChannel: ƒ RTCDataChannel() RTCDataChannelEvent: ƒ RTCDataChannelEvent() RTCIceCandidate: ƒ RTCIceCandidate() RTCPeerConnection: ƒ RTCPeerConnection() RTCPeerConnectionIceEvent: ƒ RTCPeerConnectionIceEvent() RTCRtpContributingSource: ƒ RTCRtpContributingSource() RTCRtpReceiver: ƒ RTCRtpReceiver() RTCSessionDescription: ƒ RTCSessionDescription() RTCStatsReport: ƒ RTCStatsReport() RadioNodeList: ƒ RadioNodeList() Range: ƒ Range() RangeError: ƒ RangeError() ReadableStream: ƒ ReadableStream() ReferenceError: ƒ ReferenceError() Reflect: {defineProperty: ƒ, deleteProperty: ƒ, apply: ƒ, construct: ƒ, get: ƒ, …} RegExp: ƒ RegExp() RemotePlayback: ƒ RemotePlayback() Request: ƒ Request() Response: ƒ Response() SVGAElement: ƒ SVGAElement() SVGAngle: ƒ SVGAngle() SVGAnimateElement: ƒ SVGAnimateElement() SVGAnimateMotionElement: ƒ SVGAnimateMotionElement() SVGAnimateTransformElement: ƒ SVGAnimateTransformElement() SVGAnimatedAngle: ƒ SVGAnimatedAngle() SVGAnimatedBoolean: ƒ SVGAnimatedBoolean() SVGAnimatedEnumeration: ƒ SVGAnimatedEnumeration() SVGAnimatedInteger: ƒ SVGAnimatedInteger() SVGAnimatedLength: ƒ SVGAnimatedLength() SVGAnimatedLengthList: ƒ SVGAnimatedLengthList() SVGAnimatedNumber: ƒ SVGAnimatedNumber() SVGAnimatedNumberList: ƒ SVGAnimatedNumberList() SVGAnimatedPreserveAspectRatio: ƒ SVGAnimatedPreserveAspectRatio() SVGAnimatedRect: ƒ SVGAnimatedRect() SVGAnimatedString: ƒ SVGAnimatedString() SVGAnimatedTransformList: ƒ SVGAnimatedTransformList() Variables & Functions 32 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV SVGAnimationElement: ƒ SVGAnimationElement() SVGCircleElement: ƒ SVGCircleElement() SVGClipPathElement: ƒ SVGClipPathElement() SVGComponentTransferFunctionElement: ƒ SVGComponentTransferFunctionElement() SVGDefsElement: ƒ SVGDefsElement() SVGDescElement: ƒ SVGDescElement() SVGDiscardElement: ƒ SVGDiscardElement() SVGElement: ƒ SVGElement() SVGEllipseElement: ƒ SVGEllipseElement() SVGFEBlendElement: ƒ SVGFEBlendElement() SVGFEColorMatrixElement: ƒ SVGFEColorMatrixElement() SVGFEComponentTransferElement: ƒ SVGFEComponentTransferElement() SVGFECompositeElement: ƒ SVGFECompositeElement() SVGFEConvolveMatrixElement: ƒ SVGFEConvolveMatrixElement() SVGFEDiffuseLightingElement: ƒ SVGFEDiffuseLightingElement() SVGFEDisplacementMapElement: ƒ SVGFEDisplacementMapElement() SVGFEDistantLightElement: ƒ SVGFEDistantLightElement() SVGFEDropShadowElement: ƒ SVGFEDropShadowElement() SVGFEFloodElement: ƒ SVGFEFloodElement() SVGFEFuncAElement: ƒ SVGFEFuncAElement() SVGFEFuncBElement: ƒ SVGFEFuncBElement() SVGFEFuncGElement: ƒ SVGFEFuncGElement() SVGFEFuncRElement: ƒ SVGFEFuncRElement() SVGFEGaussianBlurElement: ƒ SVGFEGaussianBlurElement() SVGFEImageElement: ƒ SVGFEImageElement() SVGFEMergeElement: ƒ SVGFEMergeElement() SVGFEMergeNodeElement: ƒ SVGFEMergeNodeElement() SVGFEMorphologyElement: ƒ SVGFEMorphologyElement() SVGFEOffsetElement: ƒ SVGFEOffsetElement() SVGFEPointLightElement: ƒ SVGFEPointLightElement() SVGFESpecularLightingElement: ƒ SVGFESpecularLightingElement() SVGFESpotLightElement: ƒ SVGFESpotLightElement() SVGFETileElement: ƒ SVGFETileElement() SVGFETurbulenceElement: ƒ SVGFETurbulenceElement() SVGFilterElement: ƒ SVGFilterElement() SVGForeignObjectElement: ƒ SVGForeignObjectElement() SVGGElement: ƒ SVGGElement() SVGGeometryElement: ƒ SVGGeometryElement() SVGGradientElement: ƒ SVGGradientElement() Variables & Functions 33 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV SVGGraphicsElement: ƒ SVGGraphicsElement() SVGImageElement: ƒ SVGImageElement() SVGLength: ƒ SVGLength() SVGLengthList: ƒ SVGLengthList() SVGLineElement: ƒ SVGLineElement() SVGLinearGradientElement: ƒ SVGLinearGradientElement() SVGMPathElement: ƒ SVGMPathElement() SVGMarkerElement: ƒ SVGMarkerElement() SVGMaskElement: ƒ SVGMaskElement() SVGMatrix: ƒ SVGMatrix() SVGMetadataElement: ƒ SVGMetadataElement() SVGNumber: ƒ SVGNumber() SVGNumberList: ƒ SVGNumberList() SVGPathElement: ƒ SVGPathElement() SVGPatternElement: ƒ SVGPatternElement() SVGPoint: ƒ SVGPoint() SVGPointList: ƒ SVGPointList() SVGPolygonElement: ƒ SVGPolygonElement() SVGPolylineElement: ƒ SVGPolylineElement() SVGPreserveAspectRatio: ƒ SVGPreserveAspectRatio() SVGRadialGradientElement: ƒ SVGRadialGradientElement() SVGRect: ƒ SVGRect() SVGRectElement: ƒ SVGRectElement() SVGSVGElement: ƒ SVGSVGElement() SVGScriptElement: ƒ SVGScriptElement() SVGSetElement: ƒ SVGSetElement() SVGStopElement: ƒ SVGStopElement() SVGStringList: ƒ SVGStringList() SVGStyleElement: ƒ SVGStyleElement() SVGSwitchElement: ƒ SVGSwitchElement() SVGSymbolElement: ƒ SVGSymbolElement() SVGTSpanElement: ƒ SVGTSpanElement() SVGTextContentElement: ƒ SVGTextContentElement() SVGTextElement: ƒ SVGTextElement() SVGTextPathElement: ƒ SVGTextPathElement() SVGTextPositioningElement: ƒ SVGTextPositioningElement() SVGTitleElement: ƒ SVGTitleElement() SVGTransform: ƒ SVGTransform() SVGTransformList: ƒ SVGTransformList() SVGUnitTypes: ƒ SVGUnitTypes() SVGUseElement: ƒ SVGUseElement() SVGViewElement: ƒ SVGViewElement() Screen: ƒ Screen() ScreenOrientation: ƒ ScreenOrientation() Variables & Functions 34 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV ScriptProcessorNode: ƒ ScriptProcessorNode() SecurityPolicyViolationEvent: ƒ SecurityPolicyViolationEvent() Selection: ƒ Selection() ServiceWorker: ƒ ServiceWorker() ServiceWorkerContainer: ƒ ServiceWorkerContainer() ServiceWorkerRegistration: ƒ ServiceWorkerRegistration() Set: ƒ Set() ShadowRoot: ƒ ShadowRoot() SharedWorker: ƒ SharedWorker() SourceBuffer: ƒ SourceBuffer() SourceBufferList: ƒ SourceBufferList() SpeechSynthesisEvent: ƒ SpeechSynthesisEvent() SpeechSynthesisUtterance: ƒ SpeechSynthesisUtterance() StaticRange: ƒ StaticRange() StereoPannerNode: ƒ StereoPannerNode() Storage: ƒ Storage() StorageEvent: ƒ StorageEvent() StorageManager: ƒ StorageManager() String: ƒ String() StyleSheet: ƒ StyleSheet() StyleSheetList: ƒ StyleSheetList() SubtleCrypto: ƒ SubtleCrypto() Symbol: ƒ Symbol() SyncManager: ƒ SyncManager() SyntaxError: ƒ SyntaxError() TaskAttributionTiming: ƒ TaskAttributionTiming() Text: ƒ Text() TextDecoder: ƒ TextDecoder() TextEncoder: ƒ TextEncoder() TextEvent: ƒ TextEvent() TextMetrics: ƒ TextMetrics() TextTrack: ƒ TextTrack() TextTrackCue: ƒ TextTrackCue() TextTrackCueList: ƒ TextTrackCueList() TextTrackList: ƒ TextTrackList() TimeRanges: ƒ TimeRanges() Touch: ƒ Touch() TouchEvent: ƒ TouchEvent() TouchList: ƒ TouchList() TrackEvent: ƒ TrackEvent() TransitionEvent: ƒ TransitionEvent() TreeWalker: ƒ TreeWalker() TypeError: ƒ TypeError() Variables & Functions 35 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV UIEvent: ƒ UIEvent() URIError: ƒ URIError() URL: ƒ URL() URLSearchParams: ƒ URLSearchParams() USB: ƒ USB() USBAlternateInterface: ƒ USBAlternateInterface() USBConfiguration: ƒ USBConfiguration() USBConnectionEvent: ƒ USBConnectionEvent() USBDevice: ƒ USBDevice() USBEndpoint: ƒ USBEndpoint() USBInTransferResult: ƒ USBInTransferResult() USBInterface: ƒ USBInterface() USBIsochronousInTransferPacket: ƒ USBIsochronousInTransferPacket() USBIsochronousInTransferResult: ƒ USBIsochronousInTransferResult() USBIsochronousOutTransferPacket: ƒ USBIsochronousOutTransferPacket() USBIsochronousOutTransferResult: ƒ USBIsochronousOutTransferResult() USBOutTransferResult: ƒ USBOutTransferResult() Uint8Array: ƒ Uint8Array() Uint8ClampedArray: ƒ Uint8ClampedArray() Uint16Array: ƒ Uint16Array() Uint32Array: ƒ Uint32Array() VTTCue: ƒ VTTCue() ValidityState: ƒ ValidityState() VisualViewport: ƒ VisualViewport() WaveShaperNode: ƒ WaveShaperNode() WeakMap: ƒ WeakMap() WeakSet: ƒ WeakSet() WebAssembly: WebAssembly {compile: ƒ, validate: ƒ, instantiate: ƒ, compileStreaming: ƒ, instantiateStreaming: ƒ, …} WebGL2RenderingContext: ƒ WebGL2RenderingContext() WebGLActiveInfo: ƒ WebGLActiveInfo() WebGLBuffer: ƒ WebGLBuffer() WebGLContextEvent: ƒ WebGLContextEvent() WebGLFramebuffer: ƒ WebGLFramebuffer() WebGLProgram: ƒ WebGLProgram() WebGLQuery: ƒ WebGLQuery() WebGLRenderbuffer: ƒ WebGLRenderbuffer() WebGLRenderingContext: ƒ WebGLRenderingContext() WebGLSampler: ƒ WebGLSampler() WebGLShader: ƒ WebGLShader() Variables & Functions 36 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV WebGLShaderPrecisionFormat: ƒ WebGLShaderPrecisionFormat() WebGLSync: ƒ WebGLSync() WebGLTexture: ƒ WebGLTexture() WebGLTransformFeedback: ƒ WebGLTransformFeedback() WebGLUniformLocation: ƒ WebGLUniformLocation() WebGLVertexArrayObject: ƒ WebGLVertexArrayObject() WebKitAnimationEvent: ƒ AnimationEvent() WebKitCSSMatrix: ƒ DOMMatrix() WebKitMutationObserver: ƒ MutationObserver() WebKitTransitionEvent: ƒ TransitionEvent() WebSocket: ƒ WebSocket() WheelEvent: ƒ WheelEvent() Window: ƒ Window() Worker: ƒ Worker() WritableStream: ƒ WritableStream() XMLDocument: ƒ XMLDocument() XMLHttpRequest: ƒ XMLHttpRequest() XMLHttpRequestEventTarget: ƒ XMLHttpRequestEventTarget() XMLHttpRequestUpload: ƒ XMLHttpRequestUpload() XMLSerializer: ƒ XMLSerializer() XPathEvaluator: ƒ XPathEvaluator() XPathExpression: ƒ XPathExpression() XPathResult: ƒ XPathResult() XSLTProcessor: ƒ XSLTProcessor() console: console {debug: ƒ, error: ƒ, info: ƒ, log: ƒ, warn: ƒ, …} decodeURI: ƒ decodeURI() decodeURIComponent: ƒ decodeURIComponent() encodeURI: ƒ encodeURI() encodeURIComponent: ƒ encodeURIComponent() escape: ƒ escape() eval: ƒ eval() event: undefined isFinite: ƒ isFinite() isNaN: ƒ isNaN() offscreenBuffering: true parseFloat: ƒ parseFloat() parseInt: ƒ parseInt() undefined: undefined unescape: ƒ unescape() webkitMediaStream: ƒ MediaStream() webkitRTCPeerConnection: ƒ RTCPeerConnection() webkitSpeechGrammar: ƒ SpeechGrammar() webkitSpeechGrammarList: ƒ SpeechGrammarList() Variables & Functions 37 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV webkitSpeechRecognition: ƒ SpeechRecognition() webkitSpeechRecognitionError: ƒ SpeechRecognitionError() webkitSpeechRecognitionEvent: ƒ SpeechRecognitionEvent() webkitURL: ƒ URL() __proto__: Window PERSISTENT: 1 TEMPORARY: 0 constructor: ƒ Window() Symbol(Symbol.toStringTag): "Window" __proto__: WindowProperties constructor: ƒ WindowProperties() Symbol(Symbol.toStringTag): "WindowProperties" __proto__: EventTarget Avec UC Browser : Window Infinity: Infinity AnalyserNode: AnalyserNode() AnimationEvent: AnimationEvent() AppBannerPromptResult: AppBannerPromptResult() ApplicationCache: ApplicationCache() ApplicationCacheErrorEvent: ApplicationCacheErrorEvent() Array: Array() ArrayBuffer: ArrayBuffer() Attr: Attr() Audio: HTMLAudioElement() AudioBuffer: AudioBuffer() AudioBufferSourceNode: AudioBufferSourceNode() AudioContext: AudioContext() AudioDestinationNode: AudioDestinationNode() AudioListener: AudioListener() AudioNode: AudioNode() AudioParam: AudioParam() AudioProcessingEvent: AudioProcessingEvent() AudioTrack: AudioTrack() AudioTrackList: AudioTrackList() BarProp: BarProp() BatteryManager: BatteryManager() BeforeInstallPromptEvent: BeforeInstallPromptEvent() BeforeUnloadEvent: BeforeUnloadEvent() BiquadFilterNode: BiquadFilterNode() Blob: Blob() Variables & Functions 38 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV BlobEvent: BlobEvent() Boolean: Boolean() BroadcastChannel: BroadcastChannel() ByteLengthQueuingStrategy: ByteLengthQueuingStrategy() CDATASection: CDATASection() CSS: CSS() CSSFontFaceRule: CSSFontFaceRule() CSSGroupingRule: CSSGroupingRule() CSSImportRule: CSSImportRule() CSSKeyframeRule: CSSKeyframeRule() CSSKeyframesRule: CSSKeyframesRule() CSSMediaRule: CSSMediaRule() CSSNamespaceRule: CSSNamespaceRule() CSSPageRule: CSSPageRule() CSSRule: CSSRule() CSSRuleList: CSSRuleList() CSSStyleDeclaration: CSSStyleDeclaration() CSSStyleRule: CSSStyleRule() CSSStyleSheet: CSSStyleSheet() CSSSupportsRule: CSSSupportsRule() CSSViewportRule: CSSViewportRule() Cache: Cache() CacheStorage: CacheStorage() CanvasCaptureMediaStreamTrack: CanvasCaptureMediaStreamTrack() CanvasGradient: CanvasGradient() CanvasPattern: CanvasPattern() CanvasRenderingContext2D: CanvasRenderingContext2D() ChannelMergerNode: ChannelMergerNode() ChannelSplitterNode: ChannelSplitterNode() CharacterData: CharacterData() ClientRect: ClientRect() ClientRectList: ClientRectList() ClipboardEvent: ClipboardEvent() CloseEvent: CloseEvent() Comment: Comment() CompositionEvent: CompositionEvent() ConvolverNode: ConvolverNode() CountQueuingStrategy: CountQueuingStrategy() Credential: Credential() CredentialsContainer: CredentialsContainer() Crypto: Crypto() CryptoKey: CryptoKey() CustomElementRegistry: CustomElementRegistry() CustomEvent: CustomEvent() Variables & Functions 39 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV DOMError: DOMError() DOMException: DOMException() DOMImplementation: DOMImplementation() DOMParser: DOMParser() DOMStringList: DOMStringList() DOMStringMap: DOMStringMap() DOMTokenList: DOMTokenList() DataTransfer: DataTransfer() DataTransferItem: DataTransferItem() DataTransferItemList: DataTransferItemList() DataView: DataView() Date: Date() DelayNode: DelayNode() DeviceMotionEvent: DeviceMotionEvent() DeviceOrientationEvent: DeviceOrientationEvent() Document: Document() DocumentFragment: DocumentFragment() DocumentType: DocumentType() DragEvent: DragEvent() DynamicsCompressorNode: DynamicsCompressorNode() Element: Element() Error: Error() ErrorEvent: ErrorEvent() EvalError: EvalError() Event: Event() EventSource: EventSource() EventTarget: EventTarget() FederatedCredential: FederatedCredential() File: File() FileList: FileList() FileReader: FileReader() Float32Array: Float32Array() Float64Array: Float64Array() FocusEvent: FocusEvent() FontFace: FontFace() FormData: FormData() Function: Function() GainNode: GainNode() Gamepad: Gamepad() GamepadButton: GamepadButton() GamepadEvent: GamepadEvent() HTMLAllCollection: HTMLAllCollection() HTMLAnchorElement: HTMLAnchorElement() HTMLAreaElement: HTMLAreaElement() HTMLAudioElement: HTMLAudioElement() Variables & Functions 40 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV HTMLBRElement: HTMLBRElement() HTMLBaseElement: HTMLBaseElement() HTMLBodyElement: HTMLBodyElement() HTMLButtonElement: HTMLButtonElement() HTMLCanvasElement: HTMLCanvasElement() HTMLCollection: HTMLCollection() HTMLContentElement: HTMLContentElement() HTMLDListElement: HTMLDListElement() HTMLDataListElement: HTMLDataListElement() HTMLDetailsElement: HTMLDetailsElement() HTMLDialogElement: HTMLDialogElement() HTMLDirectoryElement: HTMLDirectoryElement() HTMLDivElement: HTMLDivElement() HTMLDocument: HTMLDocument() HTMLElement: HTMLElement() HTMLEmbedElement: HTMLEmbedElement() HTMLFieldSetElement: HTMLFieldSetElement() HTMLFontElement: HTMLFontElement() HTMLFormControlsCollection: HTMLFormControlsCollection() HTMLFormElement: HTMLFormElement() HTMLFrameElement: HTMLFrameElement() HTMLFrameSetElement: HTMLFrameSetElement() HTMLHRElement: HTMLHRElement() HTMLHeadElement: HTMLHeadElement() HTMLHeadingElement: HTMLHeadingElement() HTMLHtmlElement: HTMLHtmlElement() HTMLIFrameElement: HTMLIFrameElement() HTMLImageElement: HTMLImageElement() HTMLInputElement: HTMLInputElement() HTMLKeygenElement: HTMLKeygenElement() HTMLLIElement: HTMLLIElement() HTMLLabelElement: HTMLLabelElement() HTMLLegendElement: HTMLLegendElement() HTMLLinkElement: HTMLLinkElement() HTMLMapElement: HTMLMapElement() HTMLMarqueeElement: HTMLMarqueeElement() HTMLMediaElement: HTMLMediaElement() HTMLMenuElement: HTMLMenuElement() HTMLMetaElement: HTMLMetaElement() HTMLMeterElement: HTMLMeterElement() HTMLModElement: HTMLModElement() HTMLOListElement: HTMLOListElement() HTMLObjectElement: HTMLObjectElement() HTMLOptGroupElement: HTMLOptGroupElement() HTMLOptionElement: HTMLOptionElement() Variables & Functions 41 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV HTMLOptionsCollection: HTMLOptionsCollection() HTMLOutputElement: HTMLOutputElement() HTMLParagraphElement: HTMLParagraphElement() HTMLParamElement: HTMLParamElement() HTMLPictureElement: HTMLPictureElement() HTMLPreElement: HTMLPreElement() HTMLProgressElement: HTMLProgressElement() HTMLQuoteElement: HTMLQuoteElement() HTMLScriptElement: HTMLScriptElement() HTMLSelectElement: HTMLSelectElement() HTMLShadowElement: HTMLShadowElement() HTMLSlotElement: HTMLSlotElement() HTMLSourceElement: HTMLSourceElement() HTMLSpanElement: HTMLSpanElement() HTMLStyleElement: HTMLStyleElement() HTMLTableCaptionElement: HTMLTableCaptionElement() HTMLTableCellElement: HTMLTableCellElement() HTMLTableColElement: HTMLTableColElement() HTMLTableElement: HTMLTableElement() HTMLTableRowElement: HTMLTableRowElement() HTMLTableSectionElement: HTMLTableSectionElement() HTMLTemplateElement: HTMLTemplateElement() HTMLTextAreaElement: HTMLTextAreaElement() HTMLTitleElement: HTMLTitleElement() HTMLTrackElement: HTMLTrackElement() HTMLUListElement: HTMLUListElement() HTMLUnknownElement: HTMLUnknownElement() HTMLVideoElement: HTMLVideoElement() HashChangeEvent: HashChangeEvent() Headers: Headers() History: History() IDBCursor: IDBCursor() IDBCursorWithValue: IDBCursorWithValue() IDBDatabase: IDBDatabase() IDBFactory: IDBFactory() IDBIndex: IDBIndex() IDBKeyRange: IDBKeyRange() IDBObjectStore: IDBObjectStore() IDBOpenDBRequest: IDBOpenDBRequest() IDBRequest: IDBRequest() IDBTransaction: IDBTransaction() IDBVersionChangeEvent: IDBVersionChangeEvent() IIRFilterNode: IIRFilterNode() IdleDeadline: IdleDeadline() Image: HTMLImageElement() Variables & Functions 42 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV ImageBitmap: ImageBitmap() ImageBitmapRenderingContext: ImageBitmapRenderingContext() ImageData: ImageData() InputDeviceCapabilities: InputDeviceCapabilities() Int8Array: Int8Array() Int16Array: Int16Array() Int32Array: Int32Array() IntersectionObserver: IntersectionObserver() IntersectionObserverEntry: IntersectionObserverEntry() Intl: ObjectJSON: JSONKeyboardEvent: KeyboardEvent() Location: Location() MIDIAccess: MIDIAccess() MIDIConnectionEvent: MIDIConnectionEvent() MIDIInput: MIDIInput() MIDIInputMap: MIDIInputMap() MIDIMessageEvent: MIDIMessageEvent() MIDIOutput: MIDIOutput() MIDIOutputMap: MIDIOutputMap() MIDIPort: MIDIPort() Map: Map() Math: MathMediaDeviceInfo: MediaDeviceInfo() MediaDevices: MediaDevices() MediaElementAudioSourceNode: MediaElementAudioSourceNode() MediaEncryptedEvent: MediaEncryptedEvent() MediaError: MediaError() MediaKeyMessageEvent: MediaKeyMessageEvent() MediaKeySession: MediaKeySession() MediaKeyStatusMap: MediaKeyStatusMap() MediaKeySystemAccess: MediaKeySystemAccess() MediaKeys: MediaKeys() MediaList: MediaList() MediaQueryList: MediaQueryList() MediaQueryListEvent: MediaQueryListEvent() MediaRecorder: MediaRecorder() MediaSource: MediaSource() MediaStream: MediaStream() MediaStreamAudioDestinationNode: MediaStreamAudioDestinationNode() MediaStreamAudioSourceNode: MediaStreamAudioSourceNode() MediaStreamEvent: MediaStreamEvent() MediaStreamTrack: MediaStreamTrack() MediaStreamTrackEvent: MediaStreamTrackEvent() MessageChannel: MessageChannel() MessageEvent: MessageEvent() MessagePort: MessagePort() Variables & Functions 43 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV MimeType: MimeType() MimeTypeArray: MimeTypeArray() MouseEvent: MouseEvent() MutationEvent: MutationEvent() MutationObserver: MutationObserver() MutationRecord: MutationRecord() NaN: NaNNamedNodeMap: NamedNodeMap() Navigator: Navigator() Node: Node() NodeFilter: NodeFilter() NodeIterator: NodeIterator() NodeList: NodeList() Notification: Notification() Number: Number() Object: Object() OfflineAudioCompletionEvent: OfflineAudioCompletionEvent() OfflineAudioContext: OfflineAudioContext() OffscreenCanvas: OffscreenCanvas() OffscreenCanvasRenderingContext2D: OffscreenCanvasRenderingContext2D() Option: HTMLOptionElement() OscillatorNode: OscillatorNode() PageTransitionEvent: PageTransitionEvent() PannerNode: PannerNode() PasswordCredential: PasswordCredential() Path2D: Path2D() Performance: Performance() PerformanceEntry: PerformanceEntry() PerformanceMark: PerformanceMark() PerformanceMeasure: PerformanceMeasure() PerformanceNavigation: PerformanceNavigation() PerformanceObserver: PerformanceObserver() PerformanceObserverEntryList: PerformanceObserverEntryList() PerformanceResourceTiming: PerformanceResourceTiming() PerformanceTiming: PerformanceTiming() PeriodicWave: PeriodicWave() PermissionStatus: PermissionStatus() Permissions: Permissions() Plugin: Plugin() PluginArray: PluginArray() PointerEvent: PointerEvent() PopStateEvent: PopStateEvent() Presentation: Presentation() PresentationAvailability: PresentationAvailability() Variables & Functions 44 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV PresentationConnection: PresentationConnection() PresentationConnectionAvailableEvent: PresentationConnectionAvailableEvent() PresentationConnectionCloseEvent: PresentationConnectionCloseEvent() PresentationRequest: PresentationRequest() ProcessingInstruction: ProcessingInstruction() ProgressEvent: ProgressEvent() Promise: Promise() PromiseRejectionEvent: PromiseRejectionEvent() Proxy: Proxy() PushManager: PushManager() PushSubscription: PushSubscription() PushSubscriptionOptions: PushSubscriptionOptions() RTCCertificate: RTCCertificate() RTCIceCandidate: RTCIceCandidate() RTCSessionDescription: RTCSessionDescription() RadioNodeList: RadioNodeList() Range: Range() RangeError: RangeError() ReadableStream: ReadableStream() ReferenceError: ReferenceError() Reflect: ObjectRegExp: RegExp() Request: Request() Response: Response() SVGAElement: SVGAElement() SVGAngle: SVGAngle() SVGAnimateElement: SVGAnimateElement() SVGAnimateMotionElement: SVGAnimateMotionElement() SVGAnimateTransformElement: SVGAnimateTransformElement() SVGAnimatedAngle: SVGAnimatedAngle() SVGAnimatedBoolean: SVGAnimatedBoolean() SVGAnimatedEnumeration: SVGAnimatedEnumeration() SVGAnimatedInteger: SVGAnimatedInteger() SVGAnimatedLength: SVGAnimatedLength() SVGAnimatedLengthList: SVGAnimatedLengthList() SVGAnimatedNumber: SVGAnimatedNumber() SVGAnimatedNumberList: SVGAnimatedNumberList() SVGAnimatedPreserveAspectRatio: SVGAnimatedPreserveAspectRatio() SVGAnimatedRect: SVGAnimatedRect() SVGAnimatedString: SVGAnimatedString() SVGAnimatedTransformList: SVGAnimatedTransformList() SVGAnimationElement: SVGAnimationElement() Variables & Functions 45 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV SVGCircleElement: SVGCircleElement() SVGClipPathElement: SVGClipPathElement() SVGComponentTransferFunctionElement: SVGComponentTransferFunctionElement() SVGCursorElement: SVGCursorElement() SVGDefsElement: SVGDefsElement() SVGDescElement: SVGDescElement() SVGDiscardElement: SVGDiscardElement() SVGElement: SVGElement() SVGEllipseElement: SVGEllipseElement() SVGFEBlendElement: SVGFEBlendElement() SVGFEColorMatrixElement: SVGFEColorMatrixElement() SVGFEComponentTransferElement: SVGFEComponentTransferElement() SVGFECompositeElement: SVGFECompositeElement() SVGFEConvolveMatrixElement: SVGFEConvolveMatrixElement() SVGFEDiffuseLightingElement: SVGFEDiffuseLightingElement() SVGFEDisplacementMapElement: SVGFEDisplacementMapElement() SVGFEDistantLightElement: SVGFEDistantLightElement() SVGFEDropShadowElement: SVGFEDropShadowElement() SVGFEFloodElement: SVGFEFloodElement() SVGFEFuncAElement: SVGFEFuncAElement() SVGFEFuncBElement: SVGFEFuncBElement() SVGFEFuncGElement: SVGFEFuncGElement() SVGFEFuncRElement: SVGFEFuncRElement() SVGFEGaussianBlurElement: SVGFEGaussianBlurElement() SVGFEImageElement: SVGFEImageElement() SVGFEMergeElement: SVGFEMergeElement() SVGFEMergeNodeElement: SVGFEMergeNodeElement() SVGFEMorphologyElement: SVGFEMorphologyElement() SVGFEOffsetElement: SVGFEOffsetElement() SVGFEPointLightElement: SVGFEPointLightElement() SVGFESpecularLightingElement: SVGFESpecularLightingElement() SVGFESpotLightElement: SVGFESpotLightElement() SVGFETileElement: SVGFETileElement() SVGFETurbulenceElement: SVGFETurbulenceElement() SVGFilterElement: SVGFilterElement() SVGForeignObjectElement: SVGForeignObjectElement() SVGGElement: SVGGElement() SVGGeometryElement: SVGGeometryElement() SVGGradientElement: SVGGradientElement() SVGGraphicsElement: SVGGraphicsElement() SVGImageElement: SVGImageElement() SVGLength: SVGLength() Variables & Functions 46 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV SVGLengthList: SVGLengthList() SVGLineElement: SVGLineElement() SVGLinearGradientElement: SVGLinearGradientElement() SVGMPathElement: SVGMPathElement() SVGMarkerElement: SVGMarkerElement() SVGMaskElement: SVGMaskElement() SVGMatrix: SVGMatrix() SVGMetadataElement: SVGMetadataElement() SVGNumber: SVGNumber() SVGNumberList: SVGNumberList() SVGPathElement: SVGPathElement() SVGPatternElement: SVGPatternElement() SVGPoint: SVGPoint() SVGPointList: SVGPointList() SVGPolygonElement: SVGPolygonElement() SVGPolylineElement: SVGPolylineElement() SVGPreserveAspectRatio: SVGPreserveAspectRatio() SVGRadialGradientElement: SVGRadialGradientElement() SVGRect: SVGRect() SVGRectElement: SVGRectElement() SVGSVGElement: SVGSVGElement() SVGScriptElement: SVGScriptElement() SVGSetElement: SVGSetElement() SVGStopElement: SVGStopElement() SVGStringList: SVGStringList() SVGStyleElement: SVGStyleElement() SVGSwitchElement: SVGSwitchElement() SVGSymbolElement: SVGSymbolElement() SVGTSpanElement: SVGTSpanElement() SVGTextContentElement: SVGTextContentElement() SVGTextElement: SVGTextElement() SVGTextPathElement: SVGTextPathElement() SVGTextPositioningElement: SVGTextPositioningElement() SVGTitleElement: SVGTitleElement() SVGTransform: SVGTransform() SVGTransformList: SVGTransformList() SVGUnitTypes: SVGUnitTypes() SVGUseElement: SVGUseElement() SVGViewElement: SVGViewElement() SVGViewSpec: SVGViewSpec() Screen: Screen() ScreenOrientation: ScreenOrientation() ScriptProcessorNode: ScriptProcessorNode() SecurityPolicyViolationEvent: SecurityPolicyViolationEvent() Variables & Functions 47 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Selection: Selection() ServiceWorker: ServiceWorker() ServiceWorkerContainer: ServiceWorkerContainer() ServiceWorkerMessageEvent: ServiceWorkerMessageEvent() ServiceWorkerRegistration: ServiceWorkerRegistration() Set: Set() ShadowRoot: ShadowRoot() SharedWorker: SharedWorker() SiteBoundCredential: SiteBoundCredential() SourceBuffer: SourceBuffer() SourceBufferList: SourceBufferList() SpeechSynthesisEvent: SpeechSynthesisEvent() SpeechSynthesisUtterance: SpeechSynthesisUtterance() StereoPannerNode: StereoPannerNode() Storage: Storage() StorageEvent: StorageEvent() StorageManager: StorageManager() String: String() StyleSheet: StyleSheet() StyleSheetList: StyleSheetList() SubtleCrypto: SubtleCrypto() Symbol: Symbol() SyncManager: SyncManager() SyntaxError: SyntaxError() Text: Text() TextDecoder: TextDecoder() TextEncoder: TextEncoder() TextEvent: TextEvent() TextMetrics: TextMetrics() TextTrack: TextTrack() TextTrackCue: TextTrackCue() TextTrackCueList: TextTrackCueList() TextTrackList: TextTrackList() TimeRanges: TimeRanges() Touch: Touch() TouchEvent: TouchEvent() TouchList: TouchList() TrackEvent: TrackEvent() TransitionEvent: TransitionEvent() TreeWalker: TreeWalker() TypeError: TypeError() UIEvent: UIEvent() URIError: URIError() URL: URL() URLSearchParams: URLSearchParams() Variables & Functions 48 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Uint8Array: Uint8Array() Uint8ClampedArray: Uint8ClampedArray() Uint16Array: Uint16Array() Uint32Array: Uint32Array() VTTCue: VTTCue() ValidityState: ValidityState() VideoTrack: VideoTrack() VideoTrackList: VideoTrackList() WaveShaperNode: WaveShaperNode() WeakMap: WeakMap() WeakSet: WeakSet() WebGLActiveInfo: WebGLActiveInfo() WebGLBuffer: WebGLBuffer() WebGLContextEvent: WebGLContextEvent() WebGLFramebuffer: WebGLFramebuffer() WebGLProgram: WebGLProgram() WebGLRenderbuffer: WebGLRenderbuffer() WebGLRenderingContext: WebGLRenderingContext() WebGLShader: WebGLShader() WebGLShaderPrecisionFormat: WebGLShaderPrecisionFormat() WebGLTexture: WebGLTexture() WebGLUniformLocation: WebGLUniformLocation() WebKitAnimationEvent: AnimationEvent() WebKitCSSMatrix: WebKitCSSMatrix() WebKitMutationObserver: MutationObserver() WebKitTransitionEvent: TransitionEvent() WebSocket: WebSocket() WheelEvent: WheelEvent() Window: Window() Worker: Worker() WowMetrics: WowMetrics() XMLDocument: XMLDocument() XMLHttpRequest: XMLHttpRequest() XMLHttpRequestEventTarget: XMLHttpRequestEventTarget() XMLHttpRequestUpload: XMLHttpRequestUpload() XMLSerializer: XMLSerializer() XPathEvaluator: XPathEvaluator() XPathExpression: XPathExpression() XPathResult: XPathResult() XSLTProcessor: XSLTProcessor() alert: alert() applicationCache: ApplicationCacheatob: atob() blur: () btoa: btoa() caches: CacheStoragecancelAnimationFrame: cancelAnimationVariables & Functions 49 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Frame() cancelIdleCallback: cancelIdleCallback() captureEvents: captureEvents() chrome: ObjectclearInterval: clearInterval() clearTimeout: clearTimeout() clientInformation: Navigatorclose: () closed: falseconfirm: confirm() console: ObjectcreateImageBitmap: createImageBitmap() crypto: CryptocustomElements: CustomElementRegistrydecodeURI: decodeURI() decodeURIComponent: decodeURIComponent() defaultStatus: ""defaultstatus: ""devicePixelRatio: 1document: documentencodeURI: encodeURI() encodeURIComponent: encodeURIComponent() escape: escape() eval: eval() event: undefinedexternal: Externalfetch: fetch() find: find() focus: () frameElement: nullframes: WindowgetComputedStyle: getComputedStyle() getMatchedCSSRules: getMatchedCSSRules() getSelection: getSelection() history: HistoryindexedDB: IDBFactoryinnerHeight: 610innerWidth: 374isFinite: isFinite() isNaN: isNaN() isSecureContext: truelength: 0localStorage: Storagelocation: Locationlocationbar: BarPropmatchMedia: matchMedia() menubar: BarPropmoveBy: moveBy() moveTo: moveTo() name: ""navigator: NavigatoroffscreenBuffering: trueonabort: nullonanimationend: nullonanimationiteration: nullonanimationstart: nullonauxclick: nullonbeforeunload: nullonblur: nulloncancel: nulloncanplay: nulloncanplaythrough: nullonchange: nullonclick: nullonclose: nulloncontextmenu: nulloncuechange: nullondblclick: nullondevicemotion: nullondeviceorientation: nullondeviceorientationabsolute: nullondrag: nullondragend: nullondragenter: nullondragleave: nullondragover: nullondragstart: nullondrop: nullondurationchange: nullonemptied: nullonended: nullonerror: nullonfocus: nullonhashchange: nulloninput: nulloninvalid: nullonkeydown: nullonkeypress: nullonkeyup: nullonlanguagechange: nullonload: nullonloadeddata: nullonloadedmetadata: nullonloadstart: nullonmessage: nullonmousedown: nullonmouseenter: nullonVariables & Functions 50 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV mouseleave: nullonmousemove: nullonmouseout: nullonmouseover: nullonmouseup: nullonmousewheel: nullonoffline: nullononline: nullonpagehide: nullonpageshow: nullonpause: nullonplay: nullonplaying: nullonpointercancel: nullonpointerdown: nullonpointerenter: nullonpointerleave: nullonpointermove: nullonpointerout: nullonpointerover: nullonpointerup: nullonpopstate: nullonprogress: nullonratechange: nullonrejectionhandled: nullonreset: nullonresize: nullonscroll: nullonsearch: nullonseeked: nullonseeking: nullonselect: nullonshow: nullonstalled: nullonstorage: nullonsubmit: nullonsuspend: nullontimeupdate: nullontoggle: nullontransitionend: nullonunhandledrejection: nullonunload: nullonvolumechange: nullonwaiting: nullonwebkitanimationend: nullonwebkitanimationiteration: nullonwebkitanimationstart: nullonwebkittransitionend: nullonwheel: nullopen: open() openDatabase: openDatabase() opener: nullouterHeight: 730outerWidth: 932pageXOffset: 0pageYOffset: 0parent: WindowparseFloat: parseFloat() parseInt: parseInt() performance: Performancepersonalbar: BarProppostMessage: () print: print() prompt: prompt() releaseEvents: releaseEvents() requestAnimationFrame: requestAnimationFrame() requestIdleCallback: requestIdleCallback() resizeBy: resizeBy() resizeTo: resizeTo() screen: ScreenscreenLeft: 964screenTop: 125screenX: 964screenY: 125scroll: scroll() scrollBy: scrollBy() scrollTo: scrollTo() scrollX: 0scrollY: 0scrollbars: BarPropself: WindowsessionStorage: StoragesetInterval: setInterval() setTimeout: setTimeout() speechSynthesis: SpeechSynthesisstatus: ""statusbar: BarPropstop: stop() styleMedia: StyleMediatoolbar: BarProptop: Windowundefined: undefinedunescape: unescape() webkitAudioContext: AudioContext() webkitCancelAnimationFrame: webkitCancelAnimationFrame() webkitCancelRequestAnimationFrame: webkitCancelRequestAnimationFrame() webkitIDBCursor: IDBCursor() Variables & Functions 51 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV webkitIDBDatabase: IDBDatabase() webkitIDBFactory: IDBFactory() webkitIDBIndex: IDBIndex() webkitIDBKeyRange: IDBKeyRange() webkitIDBObjectStore: IDBObjectStore() webkitIDBRequest: IDBRequest() webkitIDBTransaction: IDBTransaction() webkitIndexedDB: IDBFactorywebkitMediaStream: MediaStream() webkitOfflineAudioContext: OfflineAudioContext() webkitRTCPeerConnection: RTCPeerConnection() webkitRequestAnimationFrame: webkitRequestAnimationFrame() webkitRequestFileSystem: webkitRequestFileSystem() webkitResolveLocalFileSystemURL: webkitResolveLocalFileSystemURL() webkitSpeechGrammar: SpeechGrammar() webkitSpeechGrammarList: SpeechGrammarList() webkitSpeechRecognition: SpeechRecognition() webkitSpeechRecognitionError: SpeechRecognitionError() webkitSpeechRecognitionEvent: SpeechRecognitionEvent() webkitStorageInfo: DeprecatedStorageInfowebkitURL: URL() window: WindowInfinity: InfinityAnalyserNode: AnalyserNode() AnimationEvent: AnimationEvent() AppBannerPromptResult: AppBannerPromptResult() ApplicationCache: ApplicationCache() ApplicationCacheErrorEvent: ApplicationCacheErrorEvent() Array: Array() ArrayBuffer: ArrayBuffer() Attr: Attr() Audio: HTMLAudioElement() AudioBuffer: AudioBuffer() AudioBufferSourceNode: AudioBufferSourceNode() AudioContext: AudioContext() AudioDestinationNode: AudioDestinationNode() AudioListener: AudioListener() AudioNode: AudioNode() AudioParam: AudioParam() AudioProcessingEvent: AudioProcessingEvent() AudioTrack: AudioTrack() AudioTrackList: AudioTrackList() BarProp: BarProp() BatteryManager: BatteryManager() BeforeInstallPromptEvent: BeforeInstallPromptEvent() BeforeUnloadEvent: BeforeUnloadEvent() Variables & Functions 52 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV BiquadFilterNode: BiquadFilterNode() Blob: Blob() BlobEvent: BlobEvent() Boolean: Boolean() BroadcastChannel: BroadcastChannel() ByteLengthQueuingStrategy: ByteLengthQueuingStrategy() CDATASection: CDATASection() CSS: CSS() CSSFontFaceRule: CSSFontFaceRule() CSSGroupingRule: CSSGroupingRule() CSSImportRule: CSSImportRule() CSSKeyframeRule: CSSKeyframeRule() CSSKeyframesRule: CSSKeyframesRule() CSSMediaRule: CSSMediaRule() CSSNamespaceRule: CSSNamespaceRule() CSSPageRule: CSSPageRule() CSSRule: CSSRule() CSSRuleList: CSSRuleList() CSSStyleDeclaration: CSSStyleDeclaration() CSSStyleRule: CSSStyleRule() CSSStyleSheet: CSSStyleSheet() CSSSupportsRule: CSSSupportsRule() CSSViewportRule: CSSViewportRule() Cache: Cache() CacheStorage: CacheStorage() CanvasCaptureMediaStreamTrack: CanvasCaptureMediaStreamTrack() CanvasGradient: CanvasGradient() CanvasPattern: CanvasPattern() CanvasRenderingContext2D: CanvasRenderingContext2D() ChannelMergerNode: ChannelMergerNode() ChannelSplitterNode: ChannelSplitterNode() CharacterData: CharacterData() ClientRect: ClientRect() ClientRectList: ClientRectList() ClipboardEvent: ClipboardEvent() CloseEvent: CloseEvent() Comment: Comment() CompositionEvent: CompositionEvent() ConvolverNode: ConvolverNode() CountQueuingStrategy: CountQueuingStrategy() Credential: Credential() CredentialsContainer: CredentialsContainer() Crypto: Crypto() CryptoKey: CryptoKey() Variables & Functions 53 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV CustomElementRegistry: CustomElementRegistry() CustomEvent: CustomEvent() DOMError: DOMError() DOMException: DOMException() DOMImplementation: DOMImplementation() DOMParser: DOMParser() DOMStringList: DOMStringList() DOMStringMap: DOMStringMap() DOMTokenList: DOMTokenList() DataTransfer: DataTransfer() DataTransferItem: DataTransferItem() DataTransferItemList: DataTransferItemList() DataView: DataView() Date: Date() DelayNode: DelayNode() DeviceMotionEvent: DeviceMotionEvent() DeviceOrientationEvent: DeviceOrientationEvent() Document: Document() DocumentFragment: DocumentFragment() DocumentType: DocumentType() DragEvent: DragEvent() DynamicsCompressorNode: DynamicsCompressorNode() Element: Element() Error: Error() ErrorEvent: ErrorEvent() EvalError: EvalError() Event: Event() EventSource: EventSource() EventTarget: EventTarget() FederatedCredential: FederatedCredential() File: File() FileList: FileList() FileReader: FileReader() Float32Array: Float32Array() Float64Array: Float64Array() FocusEvent: FocusEvent() FontFace: FontFace() FormData: FormData() Function: Function() GainNode: GainNode() Gamepad: Gamepad() GamepadButton: GamepadButton() GamepadEvent: GamepadEvent() HTMLAllCollection: HTMLAllCollection() HTMLAnchorElement: HTMLAnchorElement() Variables & Functions 54 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV HTMLAreaElement: HTMLAreaElement() HTMLAudioElement: HTMLAudioElement() HTMLBRElement: HTMLBRElement() HTMLBaseElement: HTMLBaseElement() HTMLBodyElement: HTMLBodyElement() HTMLButtonElement: HTMLButtonElement() HTMLCanvasElement: HTMLCanvasElement() HTMLCollection: HTMLCollection() HTMLContentElement: HTMLContentElement() HTMLDListElement: HTMLDListElement() HTMLDataListElement: HTMLDataListElement() HTMLDetailsElement: HTMLDetailsElement() HTMLDialogElement: HTMLDialogElement() HTMLDirectoryElement: HTMLDirectoryElement() HTMLDivElement: HTMLDivElement() HTMLDocument: HTMLDocument() HTMLElement: HTMLElement() HTMLEmbedElement: HTMLEmbedElement() HTMLFieldSetElement: HTMLFieldSetElement() HTMLFontElement: HTMLFontElement() HTMLFormControlsCollection: HTMLFormControlsCollection() HTMLFormElement: HTMLFormElement() HTMLFrameElement: HTMLFrameElement() HTMLFrameSetElement: HTMLFrameSetElement() HTMLHRElement: HTMLHRElement() HTMLHeadElement: HTMLHeadElement() HTMLHeadingElement: HTMLHeadingElement() HTMLHtmlElement: HTMLHtmlElement() HTMLIFrameElement: HTMLIFrameElement() HTMLImageElement: HTMLImageElement() HTMLInputElement: HTMLInputElement() HTMLKeygenElement: HTMLKeygenElement() HTMLLIElement: HTMLLIElement() HTMLLabelElement: HTMLLabelElement() HTMLLegendElement: HTMLLegendElement() HTMLLinkElement: HTMLLinkElement() HTMLMapElement: HTMLMapElement() HTMLMarqueeElement: HTMLMarqueeElement() HTMLMediaElement: HTMLMediaElement() HTMLMenuElement: HTMLMenuElement() HTMLMetaElement: HTMLMetaElement() HTMLMeterElement: HTMLMeterElement() HTMLModElement: HTMLModElement() HTMLOListElement: HTMLOListElement() HTMLObjectElement: HTMLObjectElement() Variables & Functions 55 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV HTMLOptGroupElement: HTMLOptGroupElement() HTMLOptionElement: HTMLOptionElement() HTMLOptionsCollection: HTMLOptionsCollection() HTMLOutputElement: HTMLOutputElement() HTMLParagraphElement: HTMLParagraphElement() HTMLParamElement: HTMLParamElement() HTMLPictureElement: HTMLPictureElement() HTMLPreElement: HTMLPreElement() HTMLProgressElement: HTMLProgressElement() HTMLQuoteElement: HTMLQuoteElement() HTMLScriptElement: HTMLScriptElement() HTMLSelectElement: HTMLSelectElement() HTMLShadowElement: HTMLShadowElement() HTMLSlotElement: HTMLSlotElement() HTMLSourceElement: HTMLSourceElement() HTMLSpanElement: HTMLSpanElement() HTMLStyleElement: HTMLStyleElement() HTMLTableCaptionElement: HTMLTableCaptionElement() HTMLTableCellElement: HTMLTableCellElement() HTMLTableColElement: HTMLTableColElement() HTMLTableElement: HTMLTableElement() HTMLTableRowElement: HTMLTableRowElement() HTMLTableSectionElement: HTMLTableSectionElement() HTMLTemplateElement: HTMLTemplateElement() HTMLTextAreaElement: HTMLTextAreaElement() HTMLTitleElement: HTMLTitleElement() HTMLTrackElement: HTMLTrackElement() HTMLUListElement: HTMLUListElement() HTMLUnknownElement: HTMLUnknownElement() HTMLVideoElement: HTMLVideoElement() HashChangeEvent: HashChangeEvent() Headers: Headers() History: History() IDBCursor: IDBCursor() IDBCursorWithValue: IDBCursorWithValue() IDBDatabase: IDBDatabase() IDBFactory: IDBFactory() IDBIndex: IDBIndex() IDBKeyRange: IDBKeyRange() IDBObjectStore: IDBObjectStore() IDBOpenDBRequest: IDBOpenDBRequest() IDBRequest: IDBRequest() IDBTransaction: IDBTransaction() IDBVersionChangeEvent: IDBVersionChangeEvent() IIRFilterNode: IIRFilterNode() Variables & Functions 56 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV IdleDeadline: IdleDeadline() Image: HTMLImageElement() ImageBitmap: ImageBitmap() ImageBitmapRenderingContext: ImageBitmapRenderingContext() ImageData: ImageData() InputDeviceCapabilities: InputDeviceCapabilities() Int8Array: Int8Array() Int16Array: Int16Array() Int32Array: Int32Array() IntersectionObserver: IntersectionObserver() IntersectionObserverEntry: IntersectionObserverEntry() Intl: ObjectJSON: JSONKeyboardEvent: KeyboardEvent() Location: Location() MIDIAccess: MIDIAccess() MIDIConnectionEvent: MIDIConnectionEvent() MIDIInput: MIDIInput() MIDIInputMap: MIDIInputMap() MIDIMessageEvent: MIDIMessageEvent() MIDIOutput: MIDIOutput() MIDIOutputMap: MIDIOutputMap() MIDIPort: MIDIPort() Map: Map() Math: MathMediaDeviceInfo: MediaDeviceInfo() MediaDevices: MediaDevices() MediaElementAudioSourceNode: MediaElementAudioSourceNode() MediaEncryptedEvent: MediaEncryptedEvent() MediaError: MediaError() MediaKeyMessageEvent: MediaKeyMessageEvent() MediaKeySession: MediaKeySession() MediaKeyStatusMap: MediaKeyStatusMap() MediaKeySystemAccess: MediaKeySystemAccess() MediaKeys: MediaKeys() MediaList: MediaList() MediaQueryList: MediaQueryList() MediaQueryListEvent: MediaQueryListEvent() MediaRecorder: MediaRecorder() MediaSource: MediaSource() MediaStream: MediaStream() MediaStreamAudioDestinationNode: MediaStreamAudioDestinationNode() MediaStreamAudioSourceNode: MediaStreamAudioSourceNode() MediaStreamEvent: MediaStreamEvent() MediaStreamTrack: MediaStreamTrack() MediaStreamTrackEvent: MediaStreamTrackEvent() Variables & Functions 57 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV MessageChannel: MessageChannel() MessageEvent: MessageEvent() MessagePort: MessagePort() MimeType: MimeType() MimeTypeArray: MimeTypeArray() MouseEvent: MouseEvent() MutationEvent: MutationEvent() MutationObserver: MutationObserver() MutationRecord: MutationRecord() NaN: NaNNamedNodeMap: NamedNodeMap() Navigator: Navigator() Node: Node() NodeFilter: NodeFilter() NodeIterator: NodeIterator() NodeList: NodeList() Notification: Notification() Number: Number() Object: Object() OfflineAudioCompletionEvent: OfflineAudioCompletionEvent() OfflineAudioContext: OfflineAudioContext() OffscreenCanvas: OffscreenCanvas() OffscreenCanvasRenderingContext2D: OffscreenCanvasRenderingContext2D() Option: HTMLOptionElement() OscillatorNode: OscillatorNode() PageTransitionEvent: PageTransitionEvent() PannerNode: PannerNode() PasswordCredential: PasswordCredential() Path2D: Path2D() Performance: Performance() PerformanceEntry: PerformanceEntry() PerformanceMark: PerformanceMark() PerformanceMeasure: PerformanceMeasure() PerformanceNavigation: PerformanceNavigation() PerformanceObserver: PerformanceObserver() PerformanceObserverEntryList: PerformanceObserverEntryList() PerformanceResourceTiming: PerformanceResourceTiming() PerformanceTiming: PerformanceTiming() PeriodicWave: PeriodicWave() PermissionStatus: PermissionStatus() Permissions: Permissions() Plugin: Plugin() PluginArray: PluginArray() PointerEvent: PointerEvent() Variables & Functions 58 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV PopStateEvent: PopStateEvent() Presentation: Presentation() PresentationAvailability: PresentationAvailability() PresentationConnection: PresentationConnection() PresentationConnectionAvailableEvent: PresentationConnectionAvailableEvent() PresentationConnectionCloseEvent: PresentationConnectionCloseEvent() PresentationRequest: PresentationRequest() ProcessingInstruction: ProcessingInstruction() ProgressEvent: ProgressEvent() Promise: Promise() PromiseRejectionEvent: PromiseRejectionEvent() Proxy: Proxy() PushManager: PushManager() PushSubscription: PushSubscription() PushSubscriptionOptions: PushSubscriptionOptions() RTCCertificate: RTCCertificate() RTCIceCandidate: RTCIceCandidate() RTCSessionDescription: RTCSessionDescription() RadioNodeList: RadioNodeList() Range: Range() RangeError: RangeError() ReadableStream: ReadableStream() ReferenceError: ReferenceError() Reflect: ObjectRegExp: RegExp() Request: Request() Response: Response() SVGAElement: SVGAElement() SVGAngle: SVGAngle() SVGAnimateElement: SVGAnimateElement() SVGAnimateMotionElement: SVGAnimateMotionElement() SVGAnimateTransformElement: SVGAnimateTransformElement() SVGAnimatedAngle: SVGAnimatedAngle() SVGAnimatedBoolean: SVGAnimatedBoolean() SVGAnimatedEnumeration: SVGAnimatedEnumeration() SVGAnimatedInteger: SVGAnimatedInteger() SVGAnimatedLength: SVGAnimatedLength() SVGAnimatedLengthList: SVGAnimatedLengthList() SVGAnimatedNumber: SVGAnimatedNumber() SVGAnimatedNumberList: SVGAnimatedNumberList() SVGAnimatedPreserveAspectRatio: SVGAnimatedPreserveAspectRatio() SVGAnimatedRect: SVGAnimatedRect() SVGAnimatedString: SVGAnimatedString() Variables & Functions 59 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV SVGAnimatedTransformList: SVGAnimatedTransformList() SVGAnimationElement: SVGAnimationElement() SVGCircleElement: SVGCircleElement() SVGClipPathElement: SVGClipPathElement() SVGComponentTransferFunctionElement: SVGComponentTransferFunctionElement() SVGCursorElement: SVGCursorElement() SVGDefsElement: SVGDefsElement() SVGDescElement: SVGDescElement() SVGDiscardElement: SVGDiscardElement() SVGElement: SVGElement() SVGEllipseElement: SVGEllipseElement() SVGFEBlendElement: SVGFEBlendElement() SVGFEColorMatrixElement: SVGFEColorMatrixElement() SVGFEComponentTransferElement: SVGFEComponentTransferElement() SVGFECompositeElement: SVGFECompositeElement() SVGFEConvolveMatrixElement: SVGFEConvolveMatrixElement() SVGFEDiffuseLightingElement: SVGFEDiffuseLightingElement() SVGFEDisplacementMapElement: SVGFEDisplacementMapElement() SVGFEDistantLightElement: SVGFEDistantLightElement() SVGFEDropShadowElement: SVGFEDropShadowElement() SVGFEFloodElement: SVGFEFloodElement() SVGFEFuncAElement: SVGFEFuncAElement() SVGFEFuncBElement: SVGFEFuncBElement() SVGFEFuncGElement: SVGFEFuncGElement() SVGFEFuncRElement: SVGFEFuncRElement() SVGFEGaussianBlurElement: SVGFEGaussianBlurElement() SVGFEImageElement: SVGFEImageElement() SVGFEMergeElement: SVGFEMergeElement() SVGFEMergeNodeElement: SVGFEMergeNodeElement() SVGFEMorphologyElement: SVGFEMorphologyElement() SVGFEOffsetElement: SVGFEOffsetElement() SVGFEPointLightElement: SVGFEPointLightElement() SVGFESpecularLightingElement: SVGFESpecularLightingElement() SVGFESpotLightElement: SVGFESpotLightElement() SVGFETileElement: SVGFETileElement() SVGFETurbulenceElement: SVGFETurbulenceElement() SVGFilterElement: SVGFilterElement() SVGForeignObjectElement: SVGForeignObjectElement() SVGGElement: SVGGElement() SVGGeometryElement: SVGGeometryElement() SVGGradientElement: SVGGradientElement() SVGGraphicsElement: SVGGraphicsElement() Variables & Functions 60 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV SVGImageElement: SVGImageElement() SVGLength: SVGLength() SVGLengthList: SVGLengthList() SVGLineElement: SVGLineElement() SVGLinearGradientElement: SVGLinearGradientElement() SVGMPathElement: SVGMPathElement() SVGMarkerElement: SVGMarkerElement() SVGMaskElement: SVGMaskElement() SVGMatrix: SVGMatrix() SVGMetadataElement: SVGMetadataElement() SVGNumber: SVGNumber() SVGNumberList: SVGNumberList() SVGPathElement: SVGPathElement() SVGPatternElement: SVGPatternElement() SVGPoint: SVGPoint() SVGPointList: SVGPointList() SVGPolygonElement: SVGPolygonElement() SVGPolylineElement: SVGPolylineElement() SVGPreserveAspectRatio: SVGPreserveAspectRatio() SVGRadialGradientElement: SVGRadialGradientElement() SVGRect: SVGRect() SVGRectElement: SVGRectElement() SVGSVGElement: SVGSVGElement() SVGScriptElement: SVGScriptElement() SVGSetElement: SVGSetElement() SVGStopElement: SVGStopElement() SVGStringList: SVGStringList() SVGStyleElement: SVGStyleElement() SVGSwitchElement: SVGSwitchElement() SVGSymbolElement: SVGSymbolElement() SVGTSpanElement: SVGTSpanElement() SVGTextContentElement: SVGTextContentElement() SVGTextElement: SVGTextElement() SVGTextPathElement: SVGTextPathElement() SVGTextPositioningElement: SVGTextPositioningElement() SVGTitleElement: SVGTitleElement() SVGTransform: SVGTransform() SVGTransformList: SVGTransformList() SVGUnitTypes: SVGUnitTypes() SVGUseElement: SVGUseElement() SVGViewElement: SVGViewElement() SVGViewSpec: SVGViewSpec() Screen: Screen() ScreenOrientation: ScreenOrientation() ScriptProcessorNode: ScriptProcessorNode() Variables & Functions 61 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV SecurityPolicyViolationEvent: SecurityPolicyViolationEvent() Selection: Selection() ServiceWorker: ServiceWorker() ServiceWorkerContainer: ServiceWorkerContainer() ServiceWorkerMessageEvent: ServiceWorkerMessageEvent() ServiceWorkerRegistration: ServiceWorkerRegistration() Set: Set() ShadowRoot: ShadowRoot() SharedWorker: SharedWorker() SiteBoundCredential: SiteBoundCredential() SourceBuffer: SourceBuffer() SourceBufferList: SourceBufferList() SpeechSynthesisEvent: SpeechSynthesisEvent() SpeechSynthesisUtterance: SpeechSynthesisUtterance() StereoPannerNode: StereoPannerNode() Storage: Storage() StorageEvent: StorageEvent() StorageManager: StorageManager() String: String() StyleSheet: StyleSheet() StyleSheetList: StyleSheetList() SubtleCrypto: SubtleCrypto() Symbol: Symbol() SyncManager: SyncManager() SyntaxError: SyntaxError() Text: Text() TextDecoder: TextDecoder() TextEncoder: TextEncoder() TextEvent: TextEvent() TextMetrics: TextMetrics() TextTrack: TextTrack() TextTrackCue: TextTrackCue() TextTrackCueList: TextTrackCueList() TextTrackList: TextTrackList() TimeRanges: TimeRanges() Touch: Touch() TouchEvent: TouchEvent() TouchList: TouchList() TrackEvent: TrackEvent() TransitionEvent: TransitionEvent() TreeWalker: TreeWalker() TypeError: TypeError() UIEvent: UIEvent() URIError: URIError() Variables & Functions 62 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV URL: URL() URLSearchParams: URLSearchParams() Uint8Array: Uint8Array() Uint8ClampedArray: Uint8ClampedArray() Uint16Array: Uint16Array() Uint32Array: Uint32Array() VTTCue: VTTCue() ValidityState: ValidityState() VideoTrack: VideoTrack() VideoTrackList: VideoTrackList() WaveShaperNode: WaveShaperNode() WeakMap: WeakMap() WeakSet: WeakSet() WebGLActiveInfo: WebGLActiveInfo() WebGLBuffer: WebGLBuffer() WebGLContextEvent: WebGLContextEvent() WebGLFramebuffer: WebGLFramebuffer() WebGLProgram: WebGLProgram() WebGLRenderbuffer: WebGLRenderbuffer() WebGLRenderingContext: WebGLRenderingContext() WebGLShader: WebGLShader() WebGLShaderPrecisionFormat: WebGLShaderPrecisionFormat() WebGLTexture: WebGLTexture() WebGLUniformLocation: WebGLUniformLocation() WebKitAnimationEvent: AnimationEvent() WebKitCSSMatrix: WebKitCSSMatrix() WebKitMutationObserver: MutationObserver() WebKitTransitionEvent: TransitionEvent() WebSocket: WebSocket() WheelEvent: WheelEvent() Window: Window() Worker: Worker() WowMetrics: WowMetrics() XMLDocument: XMLDocument() XMLHttpRequest: XMLHttpRequest() XMLHttpRequestEventTarget: XMLHttpRequestEventTarget() XMLHttpRequestUpload: XMLHttpRequestUpload() XMLSerializer: XMLSerializer() XPathEvaluator: XPathEvaluator() XPathExpression: XPathExpression() XPathResult: XPathResult() XSLTProcessor: XSLTProcessor() alert: alert() applicationCache: ApplicationCacheatob: atob() blur: () Variables & Functions 63 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV btoa: btoa() caches: CacheStoragecancelAnimationFrame: cancelAnimationFrame() cancelIdleCallback: cancelIdleCallback() captureEvents: captureEvents() chrome: ObjectclearInterval: clearInterval() clearTimeout: clearTimeout() clientInformation: Navigatorclose: () closed: falseconfirm: confirm() console: ObjectcreateImageBitmap: createImageBitmap() crypto: CryptocustomElements: CustomElementRegistrydecodeURI: decodeURI() decodeURIComponent: decodeURIComponent() defaultStatus: ""defaultstatus: ""devicePixelRatio: 1document: documentencodeURI: encodeURI() encodeURIComponent: encodeURIComponent() escape: escape() eval: eval() event: undefinedexternal: Externalfetch: fetch() find: find() focus: () frameElement: nullframes: WindowgetComputedStyle: getComputedStyle() getMatchedCSSRules: getMatchedCSSRules() getSelection: getSelection() history: HistoryindexedDB: IDBFactoryinnerHeight: 610innerWidth: 374isFinite: isFinite() isNaN: isNaN() isSecureContext: truelength: 0localStorage: Storagelocation: Locationlocationbar: BarPropmatchMedia: matchMedia() menubar: BarPropmoveBy: moveBy() moveTo: moveTo() name: ""navigator: NavigatoroffscreenBuffering: trueonabort: nullonanimationend: nullonanimationiteration: nullonanimationstart: nullonauxclick: nullonbeforeunload: nullonblur: nulloncancel: nulloncanplay: nulloncanplaythrough: nullonchange: nullonclick: nullonclose: nulloncontextmenu: nulloncuechange: nullondblclick: nullondevicemotion: nullondeviceorientation: nullondeviceorientationabsolute: nullondrag: nullondragend: nullondragenter: nullondragleave: nullondragover: nullondragstart: nullondrop: nullondurationchange: nullonemptied: nullonended: nullonerror: nullonfocus: nullonhashchange: nulloninput: nulloninvalid: nullonkeydown: nullonkeypress: Variables & Functions 64 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV nullonkeyup: nullonlanguagechange: nullonload: nullonloadeddata: nullonloadedmetadata: nullonloadstart: nullonmessage: nullonmousedown: nullonmouseenter: nullonmouseleave: nullonmousemove: nullonmouseout: nullonmouseover: nullonmouseup: nullonmousewheel: nullonoffline: nullononline: nullonpagehide: nullonpageshow: nullonpause: nullonplay: nullonplaying: nullonpointercancel: nullonpointerdown: nullonpointerenter: nullonpointerleave: nullonpointermove: nullonpointerout: nullonpointerover: nullonpointerup: nullonpopstate: nullonprogress: nullonratechange: nullonrejectionhandled: nullonreset: nullonresize: nullonscroll: nullonsearch: nullonseeked: nullonseeking: nullonselect: nullonshow: nullonstalled: nullonstorage: nullonsubmit: nullonsuspend: nullontimeupdate: nullontoggle: nullontransitionend: nullonunhandledrejection: nullonunload: nullonvolumechange: nullonwaiting: nullonwebkitanimationend: nullonwebkitanimationiteration: nullonwebkitanimationstart: nullonwebkittransitionend: nullonwheel: nullopen: open() openDatabase: openDatabase() opener: nullouterHeight: 730outerWidth: 932pageXOffset: 0pageYOffset: 0parent: WindowparseFloat: parseFloat() parseInt: parseInt() performance: Performancepersonalbar: BarProppostMessage: () print: print() prompt: prompt() releaseEvents: releaseEvents() requestAnimationFrame: requestAnimationFrame() requestIdleCallback: requestIdleCallback() resizeBy: resizeBy() resizeTo: resizeTo() screen: ScreenscreenLeft: 964screenTop: 125screenX: 964screenY: 125scroll: scroll() scrollBy: scrollBy() scrollTo: scrollTo() scrollX: 0scrollY: 0scrollbars: BarPropself: WindowsessionStorage: StoragesetInterval: setInterval() setTimeout: setTimeout() speechSynthesis: SpeechSynthesisstatus: ""statusbar: BarPropstop: stop() styleMedia: StyleMediatoolbar: BarProptop: Windowundefined: undefinedunescape: unescape() webkitAudioContext: AudioContext() webkitCancelAnimationFrame: webkitCancelAnimationFrame() Variables & Functions 65 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV webkitCancelRequestAnimationFrame: webkitCancelRequestAnimationFrame() webkitIDBCursor: IDBCursor() webkitIDBDatabase: IDBDatabase() webkitIDBFactory: IDBFactory() webkitIDBIndex: IDBIndex() webkitIDBKeyRange: IDBKeyRange() webkitIDBObjectStore: IDBObjectStore() webkitIDBRequest: IDBRequest() webkitIDBTransaction: IDBTransaction() webkitIndexedDB: IDBFactorywebkitMediaStream: MediaStream() webkitOfflineAudioContext: OfflineAudioContext() webkitRTCPeerConnection: RTCPeerConnection() webkitRequestAnimationFrame: webkitRequestAnimationFrame() webkitRequestFileSystem: webkitRequestFileSystem() webkitResolveLocalFileSystemURL: webkitResolveLocalFileSystemURL() webkitSpeechGrammar: SpeechGrammar() webkitSpeechGrammarList: SpeechGrammarList() webkitSpeechRecognition: SpeechRecognition() webkitSpeechRecognitionError: SpeechRecognitionError() webkitSpeechRecognitionEvent: SpeechRecognitionEvent() webkitStorageInfo: DeprecatedStorageInfowebkitURL: URL() window: WindowInfinity: InfinityAnalyserNode: AnalyserNode() AnimationEvent: AnimationEvent() AppBannerPromptResult: AppBannerPromptResult() ApplicationCache: ApplicationCache() ApplicationCacheErrorEvent: ApplicationCacheErrorEvent() Array: Array() ArrayBuffer: ArrayBuffer() Attr: Attr() Audio: HTMLAudioElement() AudioBuffer: AudioBuffer() AudioBufferSourceNode: AudioBufferSourceNode() AudioContext: AudioContext() AudioDestinationNode: AudioDestinationNode() AudioListener: AudioListener() AudioNode: AudioNode() AudioParam: AudioParam() AudioProcessingEvent: AudioProcessingEvent() AudioTrack: AudioTrack() AudioTrackList: AudioTrackList() BarProp: BarProp() Variables & Functions 66 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV BatteryManager: BatteryManager() BeforeInstallPromptEvent: BeforeInstallPromptEvent() BeforeUnloadEvent: BeforeUnloadEvent() BiquadFilterNode: BiquadFilterNode() Blob: Blob() BlobEvent: BlobEvent() Boolean: Boolean() BroadcastChannel: BroadcastChannel() ByteLengthQueuingStrategy: ByteLengthQueuingStrategy() CDATASection: CDATASection() CSS: CSS() CSSFontFaceRule: CSSFontFaceRule() CSSGroupingRule: CSSGroupingRule() CSSImportRule: CSSImportRule() CSSKeyframeRule: CSSKeyframeRule() CSSKeyframesRule: CSSKeyframesRule() CSSMediaRule: CSSMediaRule() CSSNamespaceRule: CSSNamespaceRule() CSSPageRule: CSSPageRule() CSSRule: CSSRule() CSSRuleList: CSSRuleList() CSSStyleDeclaration: CSSStyleDeclaration() CSSStyleRule: CSSStyleRule() CSSStyleSheet: CSSStyleSheet() CSSSupportsRule: CSSSupportsRule() CSSViewportRule: CSSViewportRule() Cache: Cache() CacheStorage: CacheStorage() CanvasCaptureMediaStreamTrack: CanvasCaptureMediaStreamTrack() CanvasGradient: CanvasGradient() CanvasPattern: CanvasPattern() CanvasRenderingContext2D: CanvasRenderingContext2D() ChannelMergerNode: ChannelMergerNode() ChannelSplitterNode: ChannelSplitterNode() CharacterData: CharacterData() ClientRect: ClientRect() ClientRectList: ClientRectList() ClipboardEvent: ClipboardEvent() CloseEvent: CloseEvent() Comment: Comment() CompositionEvent: CompositionEvent() ConvolverNode: ConvolverNode() CountQueuingStrategy: CountQueuingStrategy() Credential: Credential() Variables & Functions 67 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV CredentialsContainer: CredentialsContainer() Crypto: Crypto() CryptoKey: CryptoKey() CustomElementRegistry: CustomElementRegistry() CustomEvent: CustomEvent() DOMError: DOMError() DOMException: DOMException() DOMImplementation: DOMImplementation() DOMParser: DOMParser() DOMStringList: DOMStringList() DOMStringMap: DOMStringMap() DOMTokenList: DOMTokenList() DataTransfer: DataTransfer() DataTransferItem: DataTransferItem() DataTransferItemList: DataTransferItemList() DataView: DataView() Date: Date() DelayNode: DelayNode() DeviceMotionEvent: DeviceMotionEvent() DeviceOrientationEvent: DeviceOrientationEvent() Document: Document() DocumentFragment: DocumentFragment() DocumentType: DocumentType() DragEvent: DragEvent() DynamicsCompressorNode: DynamicsCompressorNode() Element: Element() Error: Error() ErrorEvent: ErrorEvent() EvalError: EvalError() Event: Event() EventSource: EventSource() EventTarget: EventTarget() FederatedCredential: FederatedCredential() File: File() FileList: FileList() FileReader: FileReader() Float32Array: Float32Array() Float64Array: Float64Array() FocusEvent: FocusEvent() FontFace: FontFace() FormData: FormData() Function: Function() GainNode: GainNode() Gamepad: Gamepad() GamepadButton: GamepadButton() Variables & Functions 68 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV GamepadEvent: GamepadEvent() HTMLAllCollection: HTMLAllCollection() HTMLAnchorElement: HTMLAnchorElement() HTMLAreaElement: HTMLAreaElement() HTMLAudioElement: HTMLAudioElement() HTMLBRElement: HTMLBRElement() HTMLBaseElement: HTMLBaseElement() HTMLBodyElement: HTMLBodyElement() HTMLButtonElement: HTMLButtonElement() HTMLCanvasElement: HTMLCanvasElement() HTMLCollection: HTMLCollection() HTMLContentElement: HTMLContentElement() HTMLDListElement: HTMLDListElement() HTMLDataListElement: HTMLDataListElement() HTMLDetailsElement: HTMLDetailsElement() HTMLDialogElement: HTMLDialogElement() HTMLDirectoryElement: HTMLDirectoryElement() HTMLDivElement: HTMLDivElement() HTMLDocument: HTMLDocument() HTMLElement: HTMLElement() HTMLEmbedElement: HTMLEmbedElement() HTMLFieldSetElement: HTMLFieldSetElement() HTMLFontElement: HTMLFontElement() HTMLFormControlsCollection: HTMLFormControlsCollection() HTMLFormElement: HTMLFormElement() HTMLFrameElement: HTMLFrameElement() HTMLFrameSetElement: HTMLFrameSetElement() HTMLHRElement: HTMLHRElement() HTMLHeadElement: HTMLHeadElement() HTMLHeadingElement: HTMLHeadingElement() HTMLHtmlElement: HTMLHtmlElement() HTMLIFrameElement: HTMLIFrameElement() HTMLImageElement: HTMLImageElement() HTMLInputElement: HTMLInputElement() HTMLKeygenElement: HTMLKeygenElement() HTMLLIElement: HTMLLIElement() HTMLLabelElement: HTMLLabelElement() HTMLLegendElement: HTMLLegendElement() HTMLLinkElement: HTMLLinkElement() HTMLMapElement: HTMLMapElement() HTMLMarqueeElement: HTMLMarqueeElement() HTMLMediaElement: HTMLMediaElement() HTMLMenuElement: HTMLMenuElement() HTMLMetaElement: HTMLMetaElement() HTMLMeterElement: HTMLMeterElement() Variables & Functions 69 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV HTMLModElement: HTMLModElement() HTMLOListElement: HTMLOListElement() HTMLObjectElement: HTMLObjectElement() HTMLOptGroupElement: HTMLOptGroupElement() HTMLOptionElement: HTMLOptionElement() HTMLOptionsCollection: HTMLOptionsCollection() HTMLOutputElement: HTMLOutputElement() HTMLParagraphElement: HTMLParagraphElement() HTMLParamElement: HTMLParamElement() HTMLPictureElement: HTMLPictureElement() HTMLPreElement: HTMLPreElement() HTMLProgressElement: HTMLProgressElement() HTMLQuoteElement: HTMLQuoteElement() HTMLScriptElement: HTMLScriptElement() HTMLSelectElement: HTMLSelectElement() HTMLShadowElement: HTMLShadowElement() HTMLSlotElement: HTMLSlotElement() HTMLSourceElement: HTMLSourceElement() HTMLSpanElement: HTMLSpanElement() HTMLStyleElement: HTMLStyleElement() HTMLTableCaptionElement: HTMLTableCaptionElement() HTMLTableCellElement: HTMLTableCellElement() HTMLTableColElement: HTMLTableColElement() HTMLTableElement: HTMLTableElement() HTMLTableRowElement: HTMLTableRowElement() HTMLTableSectionElement: HTMLTableSectionElement() HTMLTemplateElement: HTMLTemplateElement() HTMLTextAreaElement: HTMLTextAreaElement() HTMLTitleElement: HTMLTitleElement() HTMLTrackElement: HTMLTrackElement() HTMLUListElement: HTMLUListElement() HTMLUnknownElement: HTMLUnknownElement() HTMLVideoElement: HTMLVideoElement() HashChangeEvent: HashChangeEvent() Headers: Headers() History: History() IDBCursor: IDBCursor() IDBCursorWithValue: IDBCursorWithValue() IDBDatabase: IDBDatabase() IDBFactory: IDBFactory() IDBIndex: IDBIndex() IDBKeyRange: IDBKeyRange() IDBObjectStore: IDBObjectStore() IDBOpenDBRequest: IDBOpenDBRequest() Variables & Functions 70 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV IDBRequest: IDBRequest() IDBTransaction: IDBTransaction() IDBVersionChangeEvent: IDBVersionChangeEvent() IIRFilterNode: IIRFilterNode() IdleDeadline: IdleDeadline() Image: HTMLImageElement() ImageBitmap: ImageBitmap() ImageBitmapRenderingContext: ImageBitmapRenderingContext() ImageData: ImageData() InputDeviceCapabilities: InputDeviceCapabilities() Int8Array: Int8Array() Int16Array: Int16Array() Int32Array: Int32Array() IntersectionObserver: IntersectionObserver() IntersectionObserverEntry: IntersectionObserverEntry() Intl: ObjectJSON: JSONKeyboardEvent: KeyboardEvent() Location: Location() MIDIAccess: MIDIAccess() MIDIConnectionEvent: MIDIConnectionEvent() MIDIInput: MIDIInput() MIDIInputMap: MIDIInputMap() MIDIMessageEvent: MIDIMessageEvent() MIDIOutput: MIDIOutput() MIDIOutputMap: MIDIOutputMap() MIDIPort: MIDIPort() Map: Map() Math: MathMediaDeviceInfo: MediaDeviceInfo() MediaDevices: MediaDevices() MediaElementAudioSourceNode: MediaElementAudioSourceNode() MediaEncryptedEvent: MediaEncryptedEvent() MediaError: MediaError() MediaKeyMessageEvent: MediaKeyMessageEvent() MediaKeySession: MediaKeySession() MediaKeyStatusMap: MediaKeyStatusMap() MediaKeySystemAccess: MediaKeySystemAccess() MediaKeys: MediaKeys() MediaList: MediaList() MediaQueryList: MediaQueryList() MediaQueryListEvent: MediaQueryListEvent() MediaRecorder: MediaRecorder() MediaSource: MediaSource() MediaStream: MediaStream() MediaStreamAudioDestinationNode: MediaStreamAudioDestinationNode() MediaStreamAudioSourceNode: MediaStreamAudioSourceNode() Variables & Functions 71 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV MediaStreamEvent: MediaStreamEvent() MediaStreamTrack: MediaStreamTrack() MediaStreamTrackEvent: MediaStreamTrackEvent() MessageChannel: MessageChannel() MessageEvent: MessageEvent() MessagePort: MessagePort() MimeType: MimeType() MimeTypeArray: MimeTypeArray() MouseEvent: MouseEvent() MutationEvent: MutationEvent() MutationObserver: MutationObserver() MutationRecord: MutationRecord() NaN: NaNNamedNodeMap: NamedNodeMap() Navigator: Navigator() Node: Node() NodeFilter: NodeFilter() NodeIterator: NodeIterator() NodeList: NodeList() Notification: Notification() Number: Number() Object: Object() OfflineAudioCompletionEvent: OfflineAudioCompletionEvent() OfflineAudioContext: OfflineAudioContext() OffscreenCanvas: OffscreenCanvas() OffscreenCanvasRenderingContext2D: OffscreenCanvasRenderingContext2D() Option: HTMLOptionElement() OscillatorNode: OscillatorNode() PageTransitionEvent: PageTransitionEvent() PannerNode: PannerNode() PasswordCredential: PasswordCredential() Path2D: Path2D() Performance: Performance() PerformanceEntry: PerformanceEntry() PerformanceMark: PerformanceMark() PerformanceMeasure: PerformanceMeasure() PerformanceNavigation: PerformanceNavigation() PerformanceObserver: PerformanceObserver() PerformanceObserverEntryList: PerformanceObserverEntryList() PerformanceResourceTiming: PerformanceResourceTiming() PerformanceTiming: PerformanceTiming() PeriodicWave: PeriodicWave() PermissionStatus: PermissionStatus() Permissions: Permissions() Variables & Functions 72 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Plugin: Plugin() PluginArray: PluginArray() PointerEvent: PointerEvent() PopStateEvent: PopStateEvent() Presentation: Presentation() PresentationAvailability: PresentationAvailability() PresentationConnection: PresentationConnection() PresentationConnectionAvailableEvent: PresentationConnectionAvailableEvent() PresentationConnectionCloseEvent: PresentationConnectionCloseEvent() PresentationRequest: PresentationRequest() ProcessingInstruction: ProcessingInstruction() ProgressEvent: ProgressEvent() Promise: Promise() PromiseRejectionEvent: PromiseRejectionEvent() Proxy: Proxy() PushManager: PushManager() PushSubscription: PushSubscription() PushSubscriptionOptions: PushSubscriptionOptions() RTCCertificate: RTCCertificate() RTCIceCandidate: RTCIceCandidate() RTCSessionDescription: RTCSessionDescription() RadioNodeList: RadioNodeList() Range: Range() RangeError: RangeError() ReadableStream: ReadableStream() ReferenceError: ReferenceError() Reflect: ObjectRegExp: RegExp() Request: Request() Response: Response() SVGAElement: SVGAElement() SVGAngle: SVGAngle() SVGAnimateElement: SVGAnimateElement() SVGAnimateMotionElement: SVGAnimateMotionElement() SVGAnimateTransformElement: SVGAnimateTransformElement() SVGAnimatedAngle: SVGAnimatedAngle() SVGAnimatedBoolean: SVGAnimatedBoolean() SVGAnimatedEnumeration: SVGAnimatedEnumeration() SVGAnimatedInteger: SVGAnimatedInteger() SVGAnimatedLength: SVGAnimatedLength() SVGAnimatedLengthList: SVGAnimatedLengthList() SVGAnimatedNumber: SVGAnimatedNumber() SVGAnimatedNumberList: SVGAnimatedNumberList() SVGAnimatedPreserveAspectRatio: SVGAnimatedPreserveAspecVariables & Functions 73 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV tRatio() SVGAnimatedRect: SVGAnimatedRect() SVGAnimatedString: SVGAnimatedString() SVGAnimatedTransformList: SVGAnimatedTransformList() SVGAnimationElement: SVGAnimationElement() SVGCircleElement: SVGCircleElement() SVGClipPathElement: SVGClipPathElement() SVGComponentTransferFunctionElement: SVGComponentTransferFunctionElement() SVGCursorElement: SVGCursorElement() SVGDefsElement: SVGDefsElement() SVGDescElement: SVGDescElement() SVGDiscardElement: SVGDiscardElement() SVGElement: SVGElement() SVGEllipseElement: SVGEllipseElement() SVGFEBlendElement: SVGFEBlendElement() SVGFEColorMatrixElement: SVGFEColorMatrixElement() SVGFEComponentTransferElement: SVGFEComponentTransferElement() SVGFECompositeElement: SVGFECompositeElement() SVGFEConvolveMatrixElement: SVGFEConvolveMatrixElement() SVGFEDiffuseLightingElement: SVGFEDiffuseLightingElement() SVGFEDisplacementMapElement: SVGFEDisplacementMapElement() SVGFEDistantLightElement: SVGFEDistantLightElement() SVGFEDropShadowElement: SVGFEDropShadowElement() SVGFEFloodElement: SVGFEFloodElement() SVGFEFuncAElement: SVGFEFuncAElement() SVGFEFuncBElement: SVGFEFuncBElement() SVGFEFuncGElement: SVGFEFuncGElement() SVGFEFuncRElement: SVGFEFuncRElement() SVGFEGaussianBlurElement: SVGFEGaussianBlurElement() SVGFEImageElement: SVGFEImageElement() SVGFEMergeElement: SVGFEMergeElement() SVGFEMergeNodeElement: SVGFEMergeNodeElement() SVGFEMorphologyElement: SVGFEMorphologyElement() SVGFEOffsetElement: SVGFEOffsetElement() SVGFEPointLightElement: SVGFEPointLightElement() SVGFESpecularLightingElement: SVGFESpecularLightingElement() SVGFESpotLightElement: SVGFESpotLightElement() SVGFETileElement: SVGFETileElement() SVGFETurbulenceElement: SVGFETurbulenceElement() SVGFilterElement: SVGFilterElement() SVGForeignObjectElement: SVGForeignObjectElement() SVGGElement: SVGGElement() Variables & Functions 74 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV SVGGeometryElement: SVGGeometryElement() SVGGradientElement: SVGGradientElement() SVGGraphicsElement: SVGGraphicsElement() SVGImageElement: SVGImageElement() SVGLength: SVGLength() SVGLengthList: SVGLengthList() SVGLineElement: SVGLineElement() SVGLinearGradientElement: SVGLinearGradientElement() SVGMPathElement: SVGMPathElement() SVGMarkerElement: SVGMarkerElement() SVGMaskElement: SVGMaskElement() SVGMatrix: SVGMatrix() SVGMetadataElement: SVGMetadataElement() SVGNumber: SVGNumber() SVGNumberList: SVGNumberList() SVGPathElement: SVGPathElement() SVGPatternElement: SVGPatternElement() SVGPoint: SVGPoint() SVGPointList: SVGPointList() SVGPolygonElement: SVGPolygonElement() SVGPolylineElement: SVGPolylineElement() SVGPreserveAspectRatio: SVGPreserveAspectRatio() SVGRadialGradientElement: SVGRadialGradientElement() SVGRect: SVGRect() SVGRectElement: SVGRectElement() SVGSVGElement: SVGSVGElement() SVGScriptElement: SVGScriptElement() SVGSetElement: SVGSetElement() SVGStopElement: SVGStopElement() SVGStringList: SVGStringList() SVGStyleElement: SVGStyleElement() SVGSwitchElement: SVGSwitchElement() SVGSymbolElement: SVGSymbolElement() SVGTSpanElement: SVGTSpanElement() SVGTextContentElement: SVGTextContentElement() SVGTextElement: SVGTextElement() SVGTextPathElement: SVGTextPathElement() SVGTextPositioningElement: SVGTextPositioningElement() SVGTitleElement: SVGTitleElement() SVGTransform: SVGTransform() SVGTransformList: SVGTransformList() SVGUnitTypes: SVGUnitTypes() SVGUseElement: SVGUseElement() SVGViewElement: SVGViewElement() SVGViewSpec: SVGViewSpec() Variables & Functions 75 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Screen: Screen() ScreenOrientation: ScreenOrientation() ScriptProcessorNode: ScriptProcessorNode() SecurityPolicyViolationEvent: SecurityPolicyViolationEvent() Selection: Selection() ServiceWorker: ServiceWorker() ServiceWorkerContainer: ServiceWorkerContainer() ServiceWorkerMessageEvent: ServiceWorkerMessageEvent() ServiceWorkerRegistration: ServiceWorkerRegistration() Set: Set() ShadowRoot: ShadowRoot() SharedWorker: SharedWorker() SiteBoundCredential: SiteBoundCredential() SourceBuffer: SourceBuffer() SourceBufferList: SourceBufferList() SpeechSynthesisEvent: SpeechSynthesisEvent() SpeechSynthesisUtterance: SpeechSynthesisUtterance() StereoPannerNode: StereoPannerNode() Storage: Storage() StorageEvent: StorageEvent() StorageManager: StorageManager() String: String() StyleSheet: StyleSheet() StyleSheetList: StyleSheetList() SubtleCrypto: SubtleCrypto() Symbol: Symbol() SyncManager: SyncManager() SyntaxError: SyntaxError() Text: Text() TextDecoder: TextDecoder() TextEncoder: TextEncoder() TextEvent: TextEvent() TextMetrics: TextMetrics() TextTrack: TextTrack() TextTrackCue: TextTrackCue() TextTrackCueList: TextTrackCueList() TextTrackList: TextTrackList() TimeRanges: TimeRanges() Touch: Touch() TouchEvent: TouchEven t() TouchList: TouchList() TrackEvent: TrackEvent() Variables & Functions 76 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV TransitionEvent: TransitionEvent() TreeWalker: TreeWalker() TypeError: TypeError() UIEvent: UIEvent() URIError: URIError() URL: URL() URLSearchParams: URLSearchParams() Uint8Array: Uint8Array() Uint8ClampedArray: Uint8ClampedArray() Uint16Array: Uint16Array() Uint32Array: Uint32Array() VTTCue: VTTCue() ValidityState: ValidityState() VideoTrack: VideoTrack() VideoTrackList: VideoTrackList() WaveShaperNode: WaveShaperNode() WeakMap: WeakMap() WeakSet: WeakSet() WebGLActiveInfo: WebGLActiveInfo() WebGLBuffer: WebGLBuffer() WebGLContextEvent: WebGLContextEvent() WebGLFramebuffer: WebGLFramebuffer() WebGLProgram: WebGLProgram() WebGLRenderbuffer: WebGLRenderbuffer() WebGLRenderingContext: WebGLRenderingContext() WebGLShader: WebGLShader() WebGLShaderPrecisionFormat: WebGLShaderPrecisionFormat() WebGLTexture: WebGLTexture() WebGLUniformLocation: WebGLUniformLocation() WebKitAnimationEvent: AnimationEvent() WebKitCSSMatrix: WebKitCSSMatrix() WebKitMutationObserver: MutationObserver() WebKitTransitionEvent: TransitionEvent() WebSocket: WebSocket() WheelEvent: WheelEvent() Window: Window() Worker: Worker() WowMetrics: WowMetrics() XMLDocument: XMLDocument() XMLHttpRequest: XMLHttpRequest() XMLHttpRequestEventTarget: XMLHttpRequestEventTarget() XMLHttpRequestUpload: XMLHttpRequestUpload() XMLSerializer: XMLSerializer() XPathEvaluator: XPathEvaluator() Variables & Functions 77 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV XPathExpression: XPathExpression() XPathResult: XPathResult() XSLTProcessor: XSLTProcessor() alert: alert() applicationCache: ApplicationCacheatob: atob() blur: () btoa: btoa() caches: CacheStoragecancelAnimationFrame: cancelAnimationFrame() cancelIdleCallback: cancelIdleCallback() captureEvents: captureEvents() chrome: ObjectclearInterval: clearInterval() clearTimeout: clearTimeout() clientInformation: Navigatorclose: () closed: falseconfirm: confirm() console: ObjectcreateImageBitmap: createImageBitmap() crypto: CryptocustomElements: CustomElementRegistrydecodeURI: decodeURI() decodeURIComponent: decodeURIComponent() defaultStatus: ""defaultstatus: ""devicePixelRatio: 1document: documentencodeURI: encodeURI() encodeURIComponent: encodeURIComponent() escape: escape() eval: eval() event: undefinedexternal: Externalfetch: fetch() find: find() focus: () frameElement: nullframes: WindowgetComputedStyle: getComputedStyle() getMatchedCSSRules: getMatchedCSSRules() getSelection: getSelection() history: HistoryindexedDB: IDBFactoryinnerHeight: 610innerWidth: 374isFinite: isFinite() isNaN: isNaN() isSecureContext: truelength: 0localStorage: Storagelocation: Locationlocationbar: BarPropmatchMedia: matchMedia() menubar: BarPropmoveBy: moveBy() moveTo: moveTo() name: ""navigator: NavigatoroffscreenBuffering: trueonabort: nullonanimationend: nullonanimationiteration: nullonanimationstart: nullonauxclick: nullonbeforeunload: nullonblur: nulloncancel: nulloncanplay: nulloncanplaythrough: nullonchange: nullonclick: nullonclose: nulloncontextmenu: nulloncuechange: nullondblclick: nullondeVariables & Functions 78 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV vicemotion: nullondeviceorientation: nullondeviceorientationabsolute: nullondrag: nullondragend: nullondragenter: nullondragleave: nullondragover: nullondragstart: nullondrop: nullondurationchange: nullonemptied: nullonended: nullonerror: nullonfocus: nullonhashchange: nulloninput: nulloninvalid: nullonkeydown: nullonkeypress: nullonkeyup: nullonlanguagechange: nullonload: nullonloadeddata: nullonloadedmetadata: nullonloadstart: nullonmessage: nullonmousedown: nullonmouseenter: nullonmouseleave: nullonmousemove: nullonmouseout: nullonmouseover: nullonmouseup: nullonmousewheel: nullonoffline: nullononline: nullonpagehide: nullonpageshow: nullonpause: nullonplay: nullonplaying: nullonpointercancel: nullonpointerdown: nullonpointerenter: nullonpointerleave: nullonpointermove: nullonpointerout: nullonpointerover: nullonpointerup: nullonpopstate: nullonprogress: nullonratechange: nullonrejectionhandled: nullonreset: nullonresize: nullonscroll: nullonsearch: nullonseeked: nullonseeking: nullonselect: nullonshow: nullonstalled: nullonstorage: nullonsubmit: nullonsuspend: nullontimeupdate: nullontoggle: nullontransitionend: nullonunhandledrejection: nullonunload: nullonvolumechange: nullonwaiting: nullonwebkitanimationend: nullonwebkitanimationiteration: nullonwebkitanimationstart: nullonwebkittransitionend: nullonwheel: nullopen: open() openDatabase: openDatabase() opener: nullouterHeight: 730outerWidth: 932pageXOffset: 0pageYOffset: 0parent: WindowparseFloat: parseFloat() parseInt: parseInt() performance: Performancepersonalbar: BarProppostMessage: () print: print() prompt: prompt() releaseEvents: releaseEvents() requestAnimationFrame: requestAnimationFrame() requestIdleCallback: requestIdleCallback() resizeBy: resizeBy() resizeTo: resizeTo() screen: ScreenscreenLeft: 964screenTop: 125screenX: 964screenY: 125scroll: scroll() scrollBy: scrollBy() scrollTo: scrollTo() scrollX: 0scrollY: 0scrollbars: BarPropself: WindowsessionStorage: StoragesetInterval: setInterval() Variables & Functions 79 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV setTimeout: setTimeout() speechSynthesis: SpeechSynthesisstatus: ""statusbar: BarPropstop: stop() styleMedia: StyleMediatoolbar: BarProptop: Windowundefined: undefinedunescape: unescape() webkitAudioContext: AudioContext() webkitCancelAnimationFrame: webkitCancelAnimationFrame() webkitCancelRequestAnimationFrame: webkitCancelRequestAnimationFrame() webkitIDBCursor: IDBCursor() webkitIDBDatabase: IDBDatabase() webkitIDBFactory: IDBFactory() webkitIDBIndex: IDBIndex() webkitIDBKeyRange: IDBKeyRange() webkitIDBObjectStore: IDBObjectStore() webkitIDBRequest: IDBRequest() webkitIDBTransaction: IDBTransaction() webkitIndexedDB: IDBFactorywebkitMediaStream: MediaStream() webkitOfflineAudioContext: OfflineAudioContext() webkitRTCPeerConnection: RTCPeerConnection() webkitRequestAnimationFrame: webkitRequestAnimationFrame() webkitRequestFileSystem: webkitRequestFileSystem() webkitResolveLocalFileSystemURL: webkitResolveLocalFileSystemURL() webkitSpeechGrammar: SpeechGrammar() webkitSpeechGrammarList: SpeechGrammarList() webkitSpeechRecognition: SpeechRecognition() webkitSpeechRecognitionError: SpeechRecognitionError() webkitSpeechRecognitionEvent: SpeechRecognitionEvent() webkitStorageInfo: DeprecatedStorageInfowebkitURL: URL() window: Window__proto__: Window__proto__: Window__proto__: WindowPERSISTENT: 1TEMPORARY: 0constructor: Window() Symbol(Symbol.toStringTag) : "Window"__proto__: WindowPropertiesconstructor: WindowProperties() Symbol(Symbol.toStringTag) : "WindowProperties"__proto__: EventTargetaddEventListener: addEventListener() constructor: EventTarget() dispatchEvent: dispatchEvent() removeEventListener: removeEventListener() Symbol(Symbol.toStringTag) : "EventTarget"__proto__: Object Variables & Functions 80 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Les clés (ou propriétés) de l’objet window Avec la directive for...in. Pour l’objet window : <script type="text/javascript"> for(i in window) console.log( i+" = "+window[i]) </script> Exécution : Il est clair ici que les méthodes sont des fonctions, et que les propriétés sont des variables. > > > > > > > > > > > > > > > > > > > > > > > > > postMessage = function () { [native code] } blur = function () { [native code] } focus = function () { [native code] } close = function () { [native code] } frames = [object Window] self = [object Window] window = [object Window] parent = [object Window] opener = null top = [object Window] length = 0 closed = false location = file:///H:/DADET/PROGS/this.html document = [object HTMLDocument] origin = null name = history = [object History] locationbar = [object BarProp] menubar = [object BarProp] personalbar = [object BarProp] scrollbars = [object BarProp] statusbar = [object BarProp] toolbar = [object BarProp] status = frameElement = null Variables & Functions 81 / 178 jeudi, 4. avril 2019 (10:48 ) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV navigator = [object Navigator] applicationCache = [object ApplicationCache] customElements = [object CustomElementRegistry] external = [object External] screen = [object Screen] innerWidth = 983 innerHeight = 804 scrollX = 0 pageXOffset = 0 scrollY = 0 pageYOffset = 0 screenX = 62 screenY = 0 outerWidth = 1538 outerHeight = 900 devicePixelRatio = 1 clientInformation = [object Navigator] screenLeft = 62 screenTop = 0 defaultStatus = defaultstatus = styleMedia = [object StyleMedia] onanimationend = null onanimationiteration = null onanimationstart = null onsearch = null ontransitionend = null onwebkitanimationend = null onwebkitanimationiteration = null onwebkitanimationstart = null onwebkittransitionend = null isSecureContext = true onabort = null onblur = null oncancel = null oncanplay = null oncanplaythrough = null onchange = null onclick = null onclose = null oncontextmenu = null oncuechange = null ondblclick = null ondrag = null ondragend = null Variables & Functions 82 / 178 jeudi, 4. avril 2019 (10:48 ) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > J.D.B. DIASOLUKA Nz. Luyalu ondragenter = null ondragleave = null ondragover = null ondragstart = null ondrop = null ondurationchange = null onemptied = null onended = null onerror = null onfocus = null oninput = null oninvalid = null onkeydown = null onkeypress = null onkeyup = null onload = null onloadeddata = null onloadedmetadata = null onloadstart = null onmousedown = null onmouseenter = null onmouseleave = null onmousemove = null onmouseout = null onmouseover = null onmouseup = null onmousewheel = null onpause = null onplay = null onplaying = null onprogress = null onratechange = null onreset = null onresize = null onscroll = null onseeked = null onseeking = null onselect = null onstalled = null onsubmit = null onsuspend = null ontimeupdate = null ontoggle = null onvolumechange = null onwaiting = null Variables & Functions 83 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV > onwheel = null > ongotpointercapture = null > onlostpointercapture = null > onpointerdown = null > onpointermove = null > onpointerup = null > onpointercancel = null > onpointerover = null > onpointerout = null > onpointerenter = null > onpointerleave = null > onbeforeunload = null > onhashchange = null > onlanguagechange = null > onmessage = null > onmessageerror = null > onoffline = null > ononline = null > onpagehide = null > onpageshow = null > onpopstate = null > onrejectionhandled = null > onstorage = null > onunhandledrejection = null > onunload = null > performance = [object Performance] > stop = function stop() { [native code] } > open = function open() { [native code] } > alert = function alert() { [native code] } > confirm = function confirm() { [native code] } > prompt = function prompt() { [native code] } > print = function print() { [native code] } > requestAnimationFrame = function requestAnimationFrame() { [native code] } > cancelAnimationFrame = function cancelAnimationFrame() { [native code] } > requestIdleCallback = function requestIdleCallback() { [native code] } > cancelIdleCallback = function cancelIdleCallback() { [native code] } > captureEvents = function captureEvents() { [native code] } > releaseEvents = function releaseEvents() { [native code] } > getComputedStyle = function getComputedStyle() { [native Variables & Functions 84 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV code] } > matchMedia = function matchMedia() { [native code] } > moveTo = function moveTo() { [native code] } > moveBy = function moveBy() { [native code] } > resizeTo = function resizeTo() { [native code] } > resizeBy = function resizeBy() { [native code] } > getSelection = function getSelection() { [native code] } > find = function find() { [native code] } > getMatchedCSSRules = function getMatchedCSSRules() { [native code] } > webkitRequestAnimationFrame = function webkitRequestAnimationFrame() { [native code] } > webkitCancelAnimationFrame = function webkitCancelAnimationFrame() { [native code] } > btoa = function btoa() { [native code] } > atob = function atob() { [native code] } > setTimeout = function setTimeout() { [native code] } > clearTimeout = function clearTimeout() { [native code] } > setInterval = function setInterval() { [native code] } > clearInterval = function clearInterval() { [native code] } > createImageBitmap = function createImageBitmap() { [native code] } > scroll = function scroll() { [native code] } > scrollTo = function scrollTo() { [native code] } > scrollBy = function scrollBy() { [native code] } > onappinstalled = null > onbeforeinstallprompt = null > caches = [object CacheStorage] > crypto = [object Crypto] > ondevicemotion = null > ondeviceorientation = null > ondeviceorientationabsolute = null > indexedDB = [object IDBFactory] > webkitStorageInfo = [object DeprecatedStorageInfo] > sessionStorage = [object Storage] > localStorage = [object Storage] > fetch = function fetch() { [native code] } > onauxclick = null > onelementpainted = null > visualViewport = [object VisualViewport] > speechSynthesis = [object SpeechSynthesis] > webkitRequestFileSystem = function webkitRequestFileSystem() { [native code] } > webkitResolveLocalFileSystemURL = function webkitReVariables & Functions 85 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV solveLocalFileSystemURL() { [native code] } > openDatabase = function openDatabase() { [native code] } > chrome = [object Object] > yandex = [object Object] > TEMPORARY = 0 > PERSISTENT = 1 > addEventListener = function addEventListener() { [native code] } > removeEventListener = function removeEventListener() { [native code] } > dispatchEvent = function dispatchEvent() { [native code] } Énumérer les propriétés de l’objet window, avec Object.getOwnPropertyNames(window) : avec FIREFOX. Array [ "undefined", "Boolean", "Date", "Math", "Number", "RegExp", "InternalError", "EvalError", "RangeError", "SyntaxError", … ] [0…99] 0: "undefined" 1: "Boolean" 2: "Date" 3: "Math" 4: "Number" 5: "RegExp" 6: "InternalError" 7: "EvalError" 8: "RangeError" 9: "SyntaxError" 10: "TypeError" 11: "URIError" 12: "StopIteration" 13: "ArrayBuffer" 14: "Int8Array" 15: "Uint8Array" 16: "Int16Array" 17: "Uint16Array" 18: "Int32Array" 19: "Uint32Array" 20: "Float32Array" 21: "Float64Array" Variables & Functions 86 / 178 jeudi, 4. avril 2019 (10:48 ) 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: J.D.B. DIASOLUKA Nz. Luyalu "Uint8ClampedArray" "Proxy" "WeakMap" "Map" "Set" "DataView" "Symbol" "SharedArrayBuffer" "Intl" "Reflect" "WeakSet" "Atomics" "Promise" "WebAssembly" "NaN" "Infinity" "isNaN" "isFinite" "parseFloat" "parseInt" "CSSStyleRule" "HTMLTimeElement" "SpeechSynthesisErrorEvent" "BatteryManager" "AudioContext" "CanvasGradient" "HTMLPictureElement" "HTMLMenuItemElement" "DOMStringMap" "HTMLFormElement" "BeforeUnloadEvent" "CSSFontFaceRule" "CSSPrimitiveValue" "HTMLOptionElement" "WebGLShader" "TextDecoder" "MediaKeys" "HTMLCanvasElement" "CSSStyleDeclaration" "HTMLTableSectionElement" "RTCDTMFSender" "Plugin" "AudioBuffer" "CustomEvent" "SVGPoint" Variables & Functions 87 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV 67: "PushManager" 68: "ChannelMergerNode" 69: "SVGEllipseElement" 70: "CSSStyleSheet" 71: "RTCStatsReport" 72: "SVGRadialGradientElement" 73: "PerformanceResourceTiming" 74: "PopupBlockedEvent" 75: "SVGComponentTransferFunctionElement" 76: "CSSPageRule" 77: "SVGPathSegCurvetoQuadraticAbs" 78: "MediaKeyError" 79: "VRStageParameters" 80: "CloseEvent" 81: "SVGPathSegCurvetoQuadraticSmoothRel" 82: "RTCTrackEvent" 83: "ServiceWorker" 84: "SVGFEColorMatrixElement" 85: "HTMLUListElement" 86: "ProgressEvent" 87: "MutationEvent" 88: "MessageEvent" 89: "TextTrackCueList" 90: "FocusEvent" 91: "SVGPathSegLinetoHorizontalAbs" 92: "PerformanceEntry" 93: "TextTrackList" 94: "StyleSheet" 95: "DOMRectReadOnly" 96: "HTMLMetaElement" 97: "DOMException" 98: "PerformanceMeasure" 99: "DesktopNotificationCenter" [100…199] 100: "Comment" 101: "DelayNode" 102: "SVGAnimatedNumberList" 103: "MediaSource" 104: "SVGLinearGradientElement" 105: "WebGLShaderPrecisionFormat" 106: "SVGStyleElement" 107: "CDATASection" 108: "MessageChannel" 109: "HTMLBaseElement" 110: "IDBFileRequest" Variables & Functions 88 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu 111: "HTMLDataListElement" 112: "VRFrameData" 113: "SVGPathSegMovetoRel" 114: "TrackEvent" 115: "HTMLMeterElement" 116: "DeviceMotionEvent" 117: "SVGStopElement" 118: "BiquadFilterNode" 119: "MediaDevices" 120: "DOMRect" 121: "CSSSupportsRule" 122: "CSSMozDocumentRule" 123: "SVGPathSegLinetoRel" 124: "SVGFEConvolveMatrixElement" 125: "HTMLSourceElement" 126: "SpeechSynthesisUtterance" 127: "Crypto" 128: "FileList" 129: "HTMLTrackElement" 130: "WebGLQuery" 131: "AudioBufferSourceNode" 132: "SVGLineElement" 133: "WebGLRenderbuffer" 134: "SVGAnimatedAngle" 135: "CSSKeyframeRule" 136: "HTMLTableColElement" 137: "DOMMatrix" 138: "HTMLFieldSetElement" 139: "WebGLSampler" 140: "URLSearchParams" 141: "WebGLUniformLocation" 142: "ServiceWorkerContainer" 143: "SVGPathSegLinetoAbs" 144: "DOMMatrixReadOnly" 145: "ValidityState" 146: "DOMPointReadOnly" 147: "ProcessingInstruction" 148: "SVGPreserveAspectRatio" 149: "SVGFEOffsetElement" 150: "AbortSignal" 151: "SVGFEImageElement" 152: "TimeEvent" 153: "FontFace" 154: "FileReader" 155: "SVGFEDiffuseLightingElement" Variables & Functions 89 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu 156: "Worker" 157: "External" 158: "Audio" 159: "IDBTransaction" 160: "ImageBitmap" 161: "MediaElementAudioSourceNode" 162: "RTCDataChannelEvent" 163: "TimeRanges" 164: "Option" 165: "TextTrack" 166: "SVGAnimatedNumber" 167: "Image" 168: "SVGTextElement" 169: "DOMPoint" 170: "HTMLDirectoryElement" 171: "SVGFESpotLightElement" 172: "VRDisplay" 173: "SVGFEMorphologyElement" 174: "IDBCursor" 175: "SVGAngle" 176: "VideoPlaybackQuality" 177: "HTMLTableCellElement" 178: "VTTCue" 179: "XPathResult" 180: "SVGScriptElement" 181: "HTMLStyleElement" 182: "HTMLAudioElement" 183: "AudioNode" 184: "XPathExpression" 185: "CSSGroupingRule" 186: "SVGFEDropShadowElement" 187: "DOMQuad" 188: "CharacterData" 189: "BaseAudioContext" 190: "SVGPathSegArcRel" 191: "TextMetrics" 192: "AudioListener" 193: "MediaKeyStatusMap" 194: "RTCPeerConnectionIceEvent" 195: "MediaStreamTrackEvent" 196: "HTMLLegendElement" 197: "PerformanceTiming" 198: "SVGNumber" 199: "CSS2Properties" [200…299] Variables & Functions 90 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV 200: "MediaRecorder" 201: "SVGGeometryElement" 202: "PerformanceMark" 203: "ImageBitmapRenderingContext" 204: "SVGPathSegLinetoHorizontalRel" 205: "SVGFEFuncBElement" 206: "CSSFontFeatureValuesRule" 207: "UserProximityEvent" 208: "MediaQueryListEvent" 209: "RTCCertificate" 210: "Headers" 211: "SVGClipPathElement" 212: "IDBFileHandle" 213: "StorageEvent" 214: "CSSRuleList" 215: "SVGPathSeg" 216: "Range" 217: "SVGUseElement" 218: "Rect" 219: "DOMRequest" 220: "HTMLOListElement" 221: "SVGPathSegArcAbs" 222: "SVGPathSegCurvetoQuadraticSmoothAbs" 223: "SVGRect" 224: "RTCDTMFToneChangeEvent" 225: "IDBMutableFile" 226: "SVGAnimatedPreserveAspectRatio" 227: "HTMLEmbedElement" 228: "CSSMediaRule" 229: "SVGImageElement" 230: "MediaStream" 231: "SVGGElement" 232: "WebGLFramebuffer" 233: "RTCPeerConnection" 234: "Permissions" 235: "TextEncoder" 236: "VRDisplayEvent" 237: "SVGAnimatedEnumeration" 238: "SVGAnimatedLengthList" 239: "MediaStreamAudioSourceNode" 240: "ImageData" 241: "SVGFEFloodElement" 242: "SpeechSynthesisVoice" 243: "HTMLQuoteElement" 244: "DOMParser" Variables & Functions 91 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu 245: "StorageManager" 246: "WebGLProgram" 247: "TextTrackCue" 248: "DOMTokenList" 249: "SVGFECompositeElement" 250: "OfflineAudioContext" 251: "UIEvent" 252: "HTMLMenuElement" 253: "WebSocket" 254: "DocumentType" 255: "HTMLHeadElement" 256: "SVGAnimatedBoolean" 257: "SVGMaskElement" 258: "HTMLUnknownElement" 259: "HTMLBRElement" 260: "GamepadButton" 261: "HTMLProgressElement" 262: "HTMLMediaElement" 263: "SVGFilterElement" 264: "HTMLFormControlsCollection" 265: "XPathEvaluator" 266: "DragEvent" 267: "VRFieldOfView" 268: "MouseScrollEvent" 269: "HTMLLIElement" 270: "EventSource" 271: "AudioDestinationNode" 272: "SVGPathSegLinetoVerticalRel" 273: "AudioParam" 274: "FileSystem" 275: "MediaEncryptedEvent" 276: "CSSCounterStyleRule" 277: "FileSystemFileEntry" 278: "CacheStorage" 279: "MimeType" 280: "PannerNode" 281: "MutationObserver" 282: "CSSImportRule" 283: "HTMLDetailsElement" 284: "NodeFilter" 285: "SVGAnimatedInteger" 286: "SVGTSpanElement" 287: "MediaStreamTrack" 288: "SVGMarkerElement" 289: "SVGStringList" Variables & Functions 92 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV 290: "GamepadHapticActuator" 291: "SVGTransform" 292: "StereoPannerNode" 293: "SVGPathElement" 294: "MediaError" 295: "HTMLObjectElement" 296: "PopStateEvent" 297: "MediaStreamAudioDestinationNode" 298: "DynamicsCompressorNode" 299: "DeviceProximityEvent" [300…399] 300: "PaintRequest" 301: "RGBColor" 302: "SVGTitleElement" 303: "HTMLHeadingElement" 304: "SpeechSynthesisEvent" 305: "SVGFEBlendElement" 306: "VRDisplayCapabilities" 307: "ClipboardEvent" 308: "FontFaceSet" 309: "SVGTextPositioningElement" 310: "SVGFEFuncGElement" 311: "RTCIceCandidate" 312: "OfflineAudioCompletionEvent" 313: "IDBKeyRange" 314: "PaintRequestList" 315: "SVGFEPointLightElement" 316: "FileSystemEntry" 317: "XMLDocument" 318: "HTMLTableCaptionElement" 319: "Screen" 320: "NamedNodeMap" 321: "SVGAnimateElement" 322: "SVGPolylineElement" 323: "CSSValue" 324: "History" 325: "DeviceLightEvent" 326: "SourceBuffer" 327: "SVGDefsElement" 328: "Response" 329: "ServiceWorkerRegistration" 330: "CanvasRenderingContext2D" 331: "IDBVersionChangeEvent" 332: "SVGPathSegList" 333: "SVGAnimatedTransformList" Variables & Functions 93 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu 334: "MediaStreamEvent" 335: "HTMLPreElement" 336: "SVGPathSegClosePath" 337: "ScriptProcessorNode" 338: "FileSystemDirectoryReader" 339: "RTCRtpReceiver" 340: "Selection" 341: "MimeTypeArray" 342: "HTMLAllCollection" 343: "CanvasCaptureMediaStream" 344: "RTCRtpSender" 345: "HTMLSpanElement" 346: "CSSNamespaceRule" 347: "SVGGradientElement" 348: "HTMLFrameSetElement" 349: "HTMLFontElement" 350: "Directory" 351: "mozRTCPeerConnection" 352: "BlobEvent" 353: "SVGSwitchElement" 354: "PerformanceObserverEntryList" 355: "SVGViewElement" 356: "SVGUnitTypes" 357: "PushSubscriptionOptions" 358: "HTMLFrameElement" 359: "DOMStringList" 360: "MouseEvent" 361: "SVGPathSegMovetoAbs" 362: "Text" 363: "IntersectionObserverEntry" 364: "SVGSymbolElement" 365: "SVGFEFuncAElement" 366: "WebGLContextEvent" 367: "DOMImplementation" 368: "WheelEvent" 369: "MediaQueryList" 370: "IDBObjectStore" 371: "SubtleCrypto" 372: "WebGL2RenderingContext" 373: "InputEvent" 374: "HashChangeEvent" 375: "CSSRule" 376: "Animation" 377: "CSS" 378: "AudioStreamTrack" Variables & Functions 94 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu 379: "DataTransfer" 380: "TreeWalker" 381: "VREyeParameters" 382: "SVGAnimatedString" 383: "SVGFEMergeElement" 384: "CSSKeyframesRule" 385: "LocalMediaStream" 386: "ConvolverNode" 387: "SVGPathSegLinetoVerticalAbs" 388: "CSSConditionRule" 389: "AudioScheduledSourceNode" 390: "DeviceOrientationEvent" 391: "WaveShaperNode" 392: "SVGAnimationElement" 393: "SVGPathSegCurvetoCubicAbs" 394: "HTMLOptGroupElement" 395: "DOMError" 396: "DataTransferItemList" 397: "Request" 398: "HTMLVideoElement" 399: "SourceBufferList" [400…499] 400: "SVGLength" 401: "SVGTextPathElement" 402: "SVGPolygonElement" 403: "SVGAnimatedRect" 404: "RTCSessionDescription" 405: "MediaKeySystemAccess" 406: "IDBFactory" 407: "XSLTProcessor" 408: "GamepadPose" 409: "SVGPathSegCurvetoCubicRel" 410: "HTMLModElement" 411: "MediaDeviceInfo" 412: "SVGFEFuncRElement" 413: "XMLHttpRequestUpload" 414: "SharedWorker" 415: "WebGLTexture" 416: "SVGLengthList" 417: "Notification" 418: "DataTransferItem" 419: "CompositionEvent" 420: "SVGTextContentElement" 421: "AnalyserNode" 422: "MediaKeySession" Variables & Functions 95 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV 423: "SVGFETurbulenceElement" 424: "mozRTCIceCandidate" 425: "PerformanceObserver" 426: "OfflineResourceList" 427: "WebGLRenderingContext" 428: "FileSystemDirectoryEntry" 429: "SVGMatrix" 430: "DesktopNotification" 431: "WebGLVertexArrayObject" 432: "GamepadEvent" 433: "HTMLTableElement" 434: "MediaList" 435: "SVGZoomAndPan" 436: "SVGMetadataElement" 437: "DataChannel" 438: "IIRFilterNode" 439: "IDBCursorWithValue" 440: "ChannelSplitterNode" 441: "KeyEvent" 442: "MediaRecorderErrorEvent" 443: "File" 444: "ConstantSourceNode" 445: "CryptoKey" 446: "GainNode" 447: "AbortController" 448: "SVGFEDistantLightElement" 449: "Attr" 450: "SpeechSynthesis" 451: "SVGSVGElement" 452: "Gamepad" 453: "HTMLTableRowElement" 454: "PushSubscription" 455: "IDBOpenDBRequest" 456: "SVGAnimateMotionElement" 457: "SVGDescElement" 458: "XMLStylesheetProcessingInstruction" 459: "SVGPathSegCurvetoCubicSmoothRel" 460: "NodeIterator" 461: "VideoStreamTrack" 462: "SVGFESpecularLightingElement" 463: "HTMLDataElement" 464: "SVGFEGaussianBlurElement" 465: "XMLSerializer" 466: "SVGFEComponentTransferElement" 467: "CaretPosition" Variables & Functions 96 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV 468: "FormData" 469: "SVGNumberList" 470: "SVGTransformList" 471: "WebGLActiveInfo" 472: "SVGForeignObjectElement" 473: "CanvasPattern" 474: "SVGRectElement" 475: "mozRTCSessionDescription" 476: "Path2D" 477: "HTMLParamElement" 478: "SVGFEDisplacementMapElement" 479: "SVGAnimateTransformElement" 480: "ScrollAreaEvent" 481: "HTMLLabelElement" 482: "PerformanceNavigation" 483: "KeyboardEvent" 484: "TransitionEvent" 485: "SVGAnimatedLength" 486: "SVGPointList" 487: "HTMLTemplateElement" 488: "HTMLOptionsCollection" 489: "SVGPatternElement" 490: "ErrorEvent" 491: "URL" 492: "AnimationEvent" 493: "SVGPathSegCurvetoCubicSmoothAbs" 494: "PluginArray" 495: "MutationRecord" 496: "HTMLDivElement" 497: "CSSValueList" 498: "WebKitCSSMatrix" 499: "HTMLIFrameElement" [500…599] 500: "PeriodicWave" 501: "IDBRequest" 502: "MediaKeyMessageEvent" 503: "SVGCircleElement" 504: "WebGLTransformFeedback" 505: "DocumentFragment" 506: "DOMCursor" 507: "WebGLSync" 508: "FontFaceSetLoadEvent" 509: "IDBIndex" 510: "SVGSetElement" 511: "ScreenOrientation" Variables & Functions 97 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu 512: "BroadcastChannel" 513: "PermissionStatus" 514: "IntersectionObserver" 515: "SVGFETileElement" 516: "HTMLTitleElement" 517: "SVGMPathElement" 518: "Blob" 519: "MessagePort" 520: "HTMLMapElement" 521: "SVGFEMergeNodeElement" 522: "BarProp" 523: "VRPose" 524: "SVGPathSegCurvetoQuadraticRel" 525: "OscillatorNode" 526: "Cache" 527: "HTMLOutputElement" 528: "HTMLDListElement" 529: "HTMLParagraphElement" 530: "IDBDatabase" 531: "RadioNodeList" 532: "AudioProcessingEvent" 533: "WebGLBuffer" 534: "HTMLHRElement" 535: "HTMLImageElement" 536: "InstallTrigger" 537: "Function" 538: "Object" 539: "eval" 540: "EventTarget" 541: "Window" 542: "close" 543: "stop" 544: "focus" 545: "blur" 546: "open" 547: "alert" 548: "confirm" 549: "prompt" 550: "print" 551: "postMessage" 552: "captureEvents" 553: "releaseEvents" 554: "getSelection" 555: "getComputedStyle" 556: "matchMedia" Variables & Functions 98 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu 557: "moveTo" 558: "moveBy" 559: "resizeTo" 560: "resizeBy" 561: "scroll" 562: "scrollTo" 563: "scrollBy" 564: "requestAnimationFrame" 565: "cancelAnimationFrame" 566: "getDefaultComputedStyle" 567: "scrollByLines" 568: "scrollByPages" 569: "sizeToContent" 570: "updateCommands" 571: "find" 572: "dump" 573: "setResizable" 574: "requestIdleCallback" 575: "cancelIdleCallback" 576: "btoa" 577: "atob" 578: "setTimeout" 579: "clearTimeout" 580: "setInterval" 581: "clearInterval" 582: "createImageBitmap" 583: "fetch" 584: "self" 585: "name" 586: "history" 587: "locationbar" 588: "menubar" 589: "personalbar" 590: "scrollbars" 591: "statusbar" 592: "toolbar" 593: "status" 594: "closed" 595: "frames" 596: "length" 597: "opener" 598: "parent" 599: "frameElement" [600…699] 600: "navigator" Variables & Functions 99 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu 601: "external" 602: "applicationCache" 603: "screen" 604: "innerWidth" 605: "innerHeight" 606: "scrollX" 607: "pageXOffset" 608: "scrollY" 609: "pageYOffset" 610: "screenX" 611: "screenY" 612: "outerWidth" 613: "outerHeight" 614: "performance" 615: "mozInnerScreenX" 616: "mozInnerScreenY" 617: "devicePixelRatio" 618: "scrollMaxX" 619: "scrollMaxY" 620: "fullScreen" 621: "mozPaintCount" 622: "ondevicemotion" 623: "ondeviceorientation" 624: "onabsolutedeviceorientation" 625: "ondeviceproximity" 626: "onuserproximity" 627: "ondevicelight" 628: "content" 629: "sidebar" 630: "onvrdisplayconnect" 631: "onvrdisplaydisconnect" 632: "onvrdisplayactivate" 633: "onvrdisplaydeactivate" 634: "onvrdisplaypresentchange" 635: "crypto" 636: "onabort" 637: "onblur" 638: "onfocus" 639: "onauxclick" 640: "oncanplay" 641: "oncanplaythrough" 642: "onchange" 643: "onclick" 644: "onclose" 645: "oncontextmenu" Variables & Functions 100 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu 646: "ondblclick" 647: "ondrag" 648: "ondragend" 649: "ondragenter" 650: "ondragexit" 651: "ondragleave" 652: "ondragover" 653: "ondragstart" 654: "ondrop" 655: "ondurationchange" 656: "onemptied" 657: "onended" 658: "oninput" 659: "oninvalid" 660: "onkeydown" 661: "onkeypress" 662: "onkeyup" 663: "onload" 664: "onloadeddata" 665: "onloadedmetadata" 666: "onloadend" 667: "onloadstart" 668: "onmousedown" 669: "onmouseenter" 670: "onmouseleave" 671: "onmousemove" 672: "onmouseout" 673: "onmouseover" 674: "onmouseup" 675: "onwheel" 676: "onpause" 677: "onplay" 678: "onplaying" 679: "onprogress" 680: "onratechange" 681: "onreset" 682: "onresize" 683: "onscroll" 684: "onseeked" 685: "onseeking" 686: "onselect" 687: "onshow" 688: "onstalled" 689: "onsubmit" 690: "onsuspend" Variables & Functions 101 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu 691: "ontimeupdate" 692: "onvolumechange" 693: "onwaiting" 694: "onselectstart" 695: "ontoggle" 696: "onmozfullscreenchange" 697: "onmozfullscreenerror" 698: "onanimationcancel" 699: "onanimationend" [700…784] 700: "onanimationiteration" 701: "onanimationstart" 702: "ontransitioncancel" 703: "ontransitionend" 704: "ontransitionrun" 705: "ontransitionstart" 706: "onwebkitanimationend" 707: "onwebkitanimationiteration" 708: "onwebkitanimationstart" 709: "onwebkittransitionend" 710: "onerror" 711: "speechSynthesis" 712: "onafterprint" 713: "onbeforeprint" 714: "onbeforeunload" 715: "onhashchange" 716: "onlanguagechange" 717: "onmessage" 718: "onmessageerror" 719: "onoffline" 720: "ononline" 721: "onpagehide" 722: "onpageshow" 723: "onpopstate" 724: "onstorage" 725: "onunload" 726: "localStorage" 727: "origin" 728: "isSecureContext" 729: "indexedDB" 730: "caches" 731: "sessionStorage" 732: "window" 733: "document" 734: "location" Variables & Functions 102 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu 735: "top" 736: "netscape" 737: "Node" 738: "Document" 739: "HTMLDocument" 740: "Performance" 741: "Event" 742: "Location" 743: "StyleSheetList" 744: "JSON" 745: "XMLHttpRequestEventTarget" 746: "XMLHttpRequest" 747: "Element" 748: "HTMLElement" 749: "HTMLScriptElement" 750: "noms_css" 751: "i" 752: "fcss" 753: "Array" 754: "escape" 755: "unescape" 756: "uneval" 757: "decodeURI" 758: "encodeURI" 759: "decodeURIComponent" 760: "encodeURIComponent" 761: "String" 762: "console" 763: "HTMLHtmlElement" 764: "PageTransitionEvent" 765: "Navigator" 766: "HTMLBodyElement" 767: "NotifyPaintEvent" 768: "DOMRectList" 769: "Storage" 770: "NodeList" 771: "HTMLCollection" 772: "IdleDeadline" 773: "Error" 774: "ReferenceError" 775: "HTMLInputElement" 776: "HTMLTextAreaElement" 777: "HTMLSelectElement" 778: "HTMLButtonElement" 779: "SVGElement" Variables & Functions 103 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV 780: "HTMLAnchorElement" 781: "HTMLAreaElement" 782: "HTMLLinkElement" 783: "SVGGraphicsElement" 784: "SVGAElement" length: 785 __proto__: [] concat: function concat() constructor: function Array() copyWithin: function copyWithin() entries: function entries() every: function every() fill: function fill() filter: function filter() find: function find() findIndex: function findIndex() forEach: function forEach() includes: function includes() indexOf: function indexOf() join: function join() keys: function keys() lastIndexOf: function lastIndexOf() length: 0 map: function map() pop: function pop() push: function push() reduce: function reduce() reduceRight: function reduceRight() reverse: function reverse() shift: function shift() slice: function slice() some: function some() sort: function sort() splice: function splice() toLocaleString: function toLocaleString() toSource: function toSource() toString: function toString() unshift: function unshift() Symbol(Symbol.iterator): undefined Symbol(Symbol.unscopables): undefined __proto__: Object { … } Attributs de l’objet window avec window.prototype : Variables & Functions 104 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Window n’a pas de prototype propre, il n’a que le prototype de son parent. Attributs de l’objet document avec la boucle for...in : <script type="text/javascript"> for(i in document) console.log( "> "+i+" = "+document[i]) </script> Exécution : > > > > > > > > > > > > > > > > > > > > > > > > > > > > location = file:///H:/DADET/PROGS/membres.html getElementsByName = function getElementsByName() open = function open() close = function close() write = function write() writeln = function writeln() execCommand = function execCommand() queryCommandEnabled = function queryCommandEnabled() queryCommandIndeterm = function queryCommandIndeterm() queryCommandState = function queryCommandState() queryCommandSupported = function queryCommandSupported() queryCommandValue = function queryCommandValue() clear = function clear() captureEvents = function captureEvents() releaseEvents = function releaseEvents() domain = cookie = body = null head = [object HTMLHeadElement] images = [object HTMLCollection] embeds = [object HTMLCollection] plugins = [object HTMLCollection] links = [object HTMLCollection] forms = [object HTMLCollection] scripts = [object HTMLCollection] designMode = off fgColor = linkColor = Variables & Functions 105 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV > vlinkColor = > alinkColor = > bgColor = > anchors = [object HTMLCollection] > applets = [object NodeList] > all = [object HTMLAllCollection] > getElementsByTagName = function getElementsByTagName() > getElementsByTagNameNS = function getElementsByTagNameNS() > getElementsByClassName = function getElementsByClassName() > getElementById = function getElementById() > createElement = function createElement() > createElementNS = function createElementNS() > createDocumentFragment = function createDocumentFragment() > createTextNode = function createTextNode() > createComment = function createComment() > createProcessingInstruction = function createProcessingInstruction() > importNode = function importNode() > adoptNode = function adoptNode() > createEvent = function createEvent() > createRange = function createRange() > createNodeIterator = function createNodeIterator() > createTreeWalker = function createTreeWalker() > createCDATASection = function createCDATASection() > createAttribute = function createAttribute() > createAttributeNS = function createAttributeNS() > hasFocus = function hasFocus() > releaseCapture = function releaseCapture() > mozSetImageElement = function mozSetImageElement() > mozCancelFullScreen = function mozCancelFullScreen() > exitPointerLock = function exitPointerLock() > enableStyleSheetsForSet = function enableStyleSheetsForSet() > elementFromPoint = function elementFromPoint() > elementsFromPoint = function elementsFromPoint() > caretPositionFromPoint = function caretPositionFromPoint() > querySelector = function querySelector() > querySelectorAll = function querySelectorAll() > getSelection = function getSelection() > prepend = function prepend() > append = function append() Variables & Functions 106 / 178 jeudi, 4. avril 2019 (10:48 ) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV createExpression = function createExpression() createNSResolver = function createNSResolver() evaluate = function evaluate() implementation = [object DOMImplementation] URL = file:///H:/DADET/PROGS/membres.html documentURI = file:///H:/DADET/PROGS/membres.html compatMode = BackCompat characterSet = windows-1252 charset = windows-1252 inputEncoding = windows-1252 contentType = text/html doctype = null documentElement = [object HTMLHtmlElement] referrer = lastModified = 12/28/2017 21:31:52 readyState = loading title = dir = defaultView = [object Window] activeElement = null onreadystatechange = null onbeforescriptexecute = null onafterscriptexecute = null onselectionchange = null currentScript = [object HTMLScriptElement] mozFullScreen = false mozFullScreenEnabled = true mozFullScreenElement = null pointerLockElement = null onpointerlockchange = null onpointerlockerror = null hidden = false visibilityState = visible onvisibilitychange = null styleSheets = [object StyleSheetList] selectedStyleSheetSet = lastStyleSheetSet = null preferredStyleSheetSet = styleSheetSets = [object DOMStringList] scrollingElement = null rootElement = null oncopy = null oncut = null onpaste = null fonts = [object FontFaceSet] Variables & Functions 107 / 178 jeudi, 4. avril 2019 (10:48 ) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > J.D.B. DIASOLUKA Nz. Luyalu onabort = null onblur = null onfocus = null onauxclick = null oncanplay = null oncanplaythrough = null onchange = null onclick = null onclose = null oncontextmenu = null ondblclick = null ondrag = null ondragend = null ondragenter = null ondragexit = null ondragleave = null ondragover = null ondragstart = null ondrop = null ondurationchange = null onemptied = null onended = null oninput = null oninvalid = null onkeydown = null onkeypress = null onkeyup = null onload = null onloadeddata = null onloadedmetadata = null onloadend = null onloadstart = null onmousedown = null onmouseenter = null onmouseleave = null onmousemove = null onmouseout = null onmouseover = null onmouseup = null onwheel = null onpause = null onplay = null onplaying = null onprogress = null onratechange = null Variables & Functions 108 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV onreset = null onresize = null onscroll = null onseeked = null onseeking = null onselect = null onshow = null onstalled = null onsubmit = null onsuspend = null ontimeupdate = null onvolumechange = null onwaiting = null onselectstart = null ontoggle = null onmozfullscreenchange = null onmozfullscreenerror = null onanimationcancel = null onanimationend = null onanimationiteration = null onanimationstart = null ontransitioncancel = null ontransitionend = null ontransitionrun = null ontransitionstart = null onwebkitanimationend = null onwebkitanimationiteration = null onwebkitanimationstart = null onwebkittransitionend = null onerror = null children = [object HTMLCollection] firstElementChild = [object HTMLHtmlElement] lastElementChild = [object HTMLHtmlElement] childElementCount = 1 getRootNode = function getRootNode() hasChildNodes = function hasChildNodes() insertBefore = function insertBefore() appendChild = function appendChild() replaceChild = function replaceChild() removeChild = function removeChild() normalize = function normalize() cloneNode = function cloneNode() isSameNode = function isSameNode() isEqualNode = function isEqualNode() compareDocumentPosition = function compareDocumentPosiVariables & Functions 109 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV tion() > contains = function contains() > lookupPrefix = function lookupPrefix() > lookupNamespaceURI = function lookupNamespaceURI() > isDefaultNamespace = function isDefaultNamespace() > nodeType = 9 > nodeName = #document > baseURI = file:///H:/DADET/PROGS/membres.html > isConnected = true > ownerDocument = null > parentNode = null > parentElement = null > childNodes = [object NodeList] > firstChild = [object HTMLHtmlElement] > lastChild = [object HTMLHtmlElement] > previousSibling = null > nextSibling = null > nodeValue = null > textContent = null > ELEMENT_NODE = 1 > ATTRIBUTE_NODE = 2 > TEXT_NODE = 3 > CDATA_SECTION_NODE = 4 > ENTITY_REFERENCE_NODE = 5 > ENTITY_NODE = 6 > PROCESSING_INSTRUCTION_NODE = 7 > COMMENT_NODE = 8 > DOCUMENT_NODE = 9 > DOCUMENT_TYPE_NODE = 10 > DOCUMENT_FRAGMENT_NODE = 11 > NOTATION_NODE = 12 > DOCUMENT_POSITION_DISCONNECTED = 1 > DOCUMENT_POSITION_PRECEDING = 2 > DOCUMENT_POSITION_FOLLOWING = 4 > DOCUMENT_POSITION_CONTAINS = 8 > DOCUMENT_POSITION_CONTAINED_BY = 16 > DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 32 > addEventListener = function addEventListener() > removeEventListener = function removeEventListener() > dispatchEvent = function dispatchEvent() Attributs de l’objet Object avec FireFox : Object.getOwnPropertyNames(Object) Variables & Functions 110 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Array [ "assign", "getPrototypeOf", "setPrototypeOf", "getOwnPropertyDescriptor", "getOwnPropertyDescriptors", "keys", "values", "entries", "is", "defineProperty", … ] 0: "assign" 1: "getPrototypeOf" 2: "setPrototypeOf" 3: "getOwnPropertyDescriptor" 4: "getOwnPropertyDescriptors" 5: "keys" 6: "values" 7: "entries" 8: "is" 9: "defineProperty" 10: "defineProperties" 11: "create" 12: "getOwnPropertyNames" 13: "getOwnPropertySymbols" 14: "isExtensible" 15: "preventExtensions" 16: "freeze" 17: "isFrozen" 18: "seal" 19: "isSealed" 20: "prototype" 21: "length" 22: "name" length: 23 __proto__: Array [] Attributs de l’objet Object avec FireFox : Object.prototype Object { … } {…} __defineGetter__: function __defineGetter__() __defineSetter__: function __defineSetter__() __lookupGetter__: function __lookupGetter__() Variables & Functions 111 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV __lookupSetter__: function __lookupSetter__() constructor: function Object() hasOwnProperty: function hasOwnProperty() isPrototypeOf: function isPrototypeOf() propertyIsEnumerable: function propertyIsEnumerable() toLocaleString: function toLocaleString() toSource: function toSource() toString: function toString() unwatch: function unwatch() valueOf: function valueOf() watch: function watch() Attributs de l’objet Function avec FireFox : Object.getOwnPropertyNames(Function) Array "name" [ "prototype", "length", ] Attributs de l’objet Function avec FireFox : Function.prototype function () apply: function apply() arguments: null bind: function bind() call: function call() caller: null constructor: function Function() isGenerator: function isGenerator() length: 0 name: "" toSource: function toSource() toString: function toString() Symbol(Symbol.hasInstance): undefin ed __proto__: Object { … } Attributs de l’objet Math avec FireFox : Variables & Functions 112 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Object.getOwnPropertyNames(Math) Array [ "asin", "clz32", "toSource", "abs", "atan", "atan2", "cos", "exp", … ] "acos", "ceil", 0: "toSource" 1: "abs" 2: "acos" 3: "asin" 4: "atan" 5: "atan2" 6: "ceil" 7: "clz32" 8: "cos" 9: "exp" 10: "floor" 11: "imul" 12: "fround" 13: "log" 14: "max" 15: "min" 16: "pow" 17: "random" 18: "round" 19: "sin" 20: "sqrt" 21: "tan" 22: "log10" 23: "log2" 24: "log1p" 25: "expm1" 26: "cosh" 27: "sinh" 28: "tanh" 29: "acosh" 30: "asinh" 31: "atanh" 32: "hypot" 33: "trunc" 34: "sign" 35: "cbrt" 36: "E" 37: "LOG2E" Variables & Functions 113 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu 38: "LOG10E" 39: "LN2" 40: "LN10" 41: "PI" 42: "SQRT2" 43: "SQRT1_2" length: 44 __proto__: Array [] JavaScript Tome-IV Attributs de l’objet Math avec FireFox : Math.prototype Attributs de Document.prototype avec YANDEX : Document.prototype Document {…} URL: (...) activeElement: (...) adoptNode: ƒ adoptNode() anchors: (...) append: ƒ append() applets: (...) baseURI: (...) body: (...) caretRangeFromPoint: ƒ caretRangeFromPoint() characterSet: (...) charset: (...) childElementCount: (...) childNodes: (...) children: (...) close: ƒ close() compatMode: (...) contentType: (...) cookie: (...) createAttribute: ƒ createAttribute() createAttributeNS: ƒ createAttributeNS() createCDATASection: ƒ createCDATASection() createComment: ƒ createComment() Variables & Functions 114 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV createDocumentFragment: ƒ createDocumentFragment() createElement: ƒ createElement() createElementNS: ƒ createElementNS() createEvent: ƒ createEvent() createExpression: ƒ createExpression() createNSResolver: ƒ createNSResolver() createNodeIterator: ƒ createNodeIterator() createProcessingInstruction: ƒ createProcessingInstruction() createRange: ƒ createRange() createTextNode: ƒ createTextNode() createTreeWalker: ƒ createTreeWalker() currentScript: (...) defaultView: (...) designMode: (...) dir: (...) doctype: (...) documentElement: (...) documentURI: (...) domain: (...) elementFromPoint: ƒ elementFromPoint() elementsFromPoint: ƒ elementsFromPoint() embeds: (...) evaluate: ƒ evaluate() execCommand: ƒ execCommand() exitPointerLock: ƒ exitPointerLock() firstChild: (...) firstElementChild: (...) fonts: (...) forms: (...) getElementById: ƒ getElementById() getElementsByClassName: ƒ getElementsByClassName() getElementsByName: ƒ getElementsByName() getElementsByTagName: ƒ getElementsByTagName() getElementsByTagNameNS: ƒ getElementsByTagNameNS() getSelection: ƒ getSelection() hasFocus: ƒ hasFocus() head: (...) hidden: (...) images: (...) Variables & Functions 115 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu implementation: (...) importNode: ƒ importNode() inputEncoding: (...) isConnected: (...) lastChild: (...) lastElementChild: (...) lastModified: (...) links: (...) nextSibling: (...) nodeName: (...) nodeType: (...) nodeValue: (...) onabort: (...) onauxclick: (...) onbeforecopy: (...) onbeforecut: (...) onbeforepaste: (...) onblur: (...) oncancel: (...) oncanplay: (...) oncanplaythrough: (...) onchange: (...) onclick: (...) onclose: (...) oncontextmenu: (...) oncopy: (...) oncuechange: (...) oncut: (...) ondblclick: (...) ondrag: (...) ondragend: (...) ondragenter: (...) ondragleave: (...) ondragover: (...) ondragstart: (...) ondrop: (...) ondurationchange: (...) onemptied: (...) onended: (...) onerror: (...) onfocus: (...) ongotpointercapture: (...) oninput: (...) oninvalid: (...) onkeydown: (...) Variables & Functions 116 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV onkeypress: (...) onkeyup: (...) onload: (...) onloadeddata: (...) onloadedmetadata: (...) onloadstart: (...) onlostpointercapture: (...) onmousedown: (...) onmouseenter: (...) onmouseleave: (...) onmousemove: (...) onmouseout: (...) onmouseover: (...) onmouseup: (...) onmousewheel: (...) onpaste: (...) onpause: (...) onplay: (...) onplaying: (...) onpointercancel: (...) onpointerdown: (...) onpointerenter: (...) onpointerleave: (...) onpointerlockchange: (...) onpointerlockerror: (...) onpointermove: (...) onpointerout: (...) onpointerover: (...) onpointerup: (...) onprogress: (...) onratechange: (...) onreadystatechange: (...) onreset: (...) onresize: (...) onscroll: (...) onsearch: (...) onseeked: (...) onseeking: (...) onselect: (...) onselectionchange: (...) onselectstart: (...) onshow: (...) onstalled: (...) onsubmit: (...) onsuspend: (...) Variables & Functions 117 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV ontimeupdate: (...) ontoggle: (...) onvolumechange: (...) onwaiting: (...) onwebkitfullscreenchange: (...) onwebkitfullscreenerror: (...) onwheel: (...) open: ƒ open() origin: (...) ownerDocument: (...) parentElement: (...) parentNode: (...) plugins: (...) pointerLockElement: (...) preferredStylesheetSet: (...) prepend: ƒ prepend() previousSibling: (...) queryCommandEnabled: ƒ queryCommandEnabled() queryCommandIndeterm: ƒ queryCommandIndeterm() queryCommandState: ƒ queryCommandState() queryCommandSupported: ƒ queryCommandSupported() queryCommandValue: ƒ queryCommandValue() querySelector: ƒ querySelector() querySelectorAll: ƒ querySelectorAll() readyState: (...) referrer: (...) registerElement: ƒ registerElement() rootElement: (...) scripts: (...) scrollingElement: (...) selectedStylesheetSet: (...) styleSheets: (...) textContent: (...) title: (...) visibilityState: (...) webkitCancelFullScreen: ƒ webkitCancelFullScreen() webkitCurrentFullScreenElemen t: (...) webkitExitFullscreen: ƒ webkitExitFullscreen() webkitFullscreenElement: (...) Variables & Functions 118 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV webkitFullscreenEnabled: (...) webkitHidden: (...) webkitIsFullScreen: (...) webkitVisibilityState: (...) write: ƒ write() writeln: ƒ writeln() xmlEncoding: (...) xmlStandalone: (...) xmlVersion: (...) Symbol(Symbol.unscopables) : {append: true, prepend: true}constructor: ƒ Document() Symbol(Symbol.toStringTag) : "Document"get URL: ƒ () get activeElement: ƒ () get anchors: ƒ () get applets: ƒ () get body: ƒ () set body: ƒ () get characterSet: ƒ () get charset: ƒ () get childElementCount: ƒ () get children: ƒ () get compatMode: ƒ () get contentType: ƒ () get cookie: ƒ () set cookie: ƒ () get currentScript: ƒ () get defaultView: ƒ () get designMode: ƒ () set designMode: ƒ () get dir: ƒ () set dir: ƒ () get doctype: ƒ () get documentElement: ƒ () get documentURI: ƒ () get domain: ƒ () set domain: ƒ () get embeds: ƒ () get firstElementChild: ƒ () get fonts: ƒ () get forms: ƒ () get head: ƒ () get hidden: ƒ () get images: ƒ () Variables & Functions 119 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu get implementation: ƒ () get inputEncoding: ƒ () get lastElementChild: ƒ () get lastModified: ƒ () get links: ƒ () get onabort: ƒ () set onabort: ƒ () get onauxclick: ƒ () set onauxclick: ƒ () get onbeforecopy: ƒ () set onbeforecopy: ƒ () get onbeforecut: ƒ () set onbeforecut: ƒ () get onbeforepaste: ƒ () set onbeforepaste: ƒ () get onblur: ƒ () set onblur: ƒ () get oncancel: ƒ () set oncancel: ƒ () get oncanplay: ƒ () set oncanplay: ƒ () get oncanplaythrough: ƒ () set oncanplaythrough: ƒ () get onchange: ƒ () set onchange: ƒ () get onclick: ƒ () set onclick: ƒ () get onclose: ƒ () set onclose: ƒ () get oncontextmenu: ƒ () set oncontextmenu: ƒ () get oncopy: ƒ () set oncopy: ƒ () get oncuechange: ƒ () set oncuechange: ƒ () get oncut: ƒ () set oncut: ƒ () get ondblclick: ƒ () set ondblclick: ƒ () get ondrag: ƒ () set ondrag: ƒ () get ondragend: ƒ () set ondragend: ƒ () get ondragenter: ƒ () set ondragenter: ƒ () Variables & Functions 120 / 178 JavaScript Tome-IV jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV get ondragleave: ƒ () set ondragleave: ƒ () get ondragover: ƒ () set ondragover: ƒ () get ondragstart: ƒ () set ondragstart: ƒ () get ondrop: ƒ () set ondrop: ƒ () get ondurationchange: ƒ () set ondurationchange: ƒ () get onemptied: ƒ () set onemptied: ƒ () get onended: ƒ () set onended: ƒ () get onerror: ƒ () set onerror: ƒ () get onfocus: ƒ () set onfocus: ƒ () get ongotpointercapture: ƒ () set ongotpointercapture: ƒ () get oninput: ƒ () set oninput: ƒ () get oninvalid: ƒ () set oninvalid: ƒ () get onkeydown: ƒ () set onkeydown: ƒ () get onkeypress: ƒ () set onkeypress: ƒ () get onkeyup: ƒ () set onkeyup: ƒ () get onload: ƒ () set onload: ƒ () get onloadeddata: ƒ () set onloadeddata: ƒ () get onloadedmetadata: ƒ () set onloadedmetadata: ƒ () get onloadstart: ƒ () set onloadstart: ƒ () get onlostpointercapture: ƒ () set onlostpointercapture: ƒ () get onmousedown: ƒ () set onmousedown: ƒ () get onmouseenter: ƒ () set onmouseenter: ƒ () get onmouseleave: ƒ () Variables & Functions 121 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV set onmouseleave: ƒ () get onmousemove: ƒ () set onmousemove: ƒ () get onmouseout: ƒ () set onmouseout: ƒ () get onmouseover: ƒ () set onmouseover: ƒ () get onmouseup: ƒ () set onmouseup: ƒ () get onmousewheel: ƒ () set onmousewheel: ƒ () get onpaste: ƒ () set onpaste: ƒ () get onpause: ƒ () set onpause: ƒ () get onplay: ƒ () set onplay: ƒ () get onplaying: ƒ () set onplaying: ƒ () get onpointercancel: ƒ () set onpointercancel: ƒ () get onpointerdown: ƒ () set onpointerdown: ƒ () get onpointerenter: ƒ () set onpointerenter: ƒ () get onpointerleave: ƒ () set onpointerleave: ƒ () get onpointerlockchange: ƒ () set onpointerlockchange: ƒ () get onpointerlockerror: ƒ () set onpointerlockerror: ƒ () get onpointermove: ƒ () set onpointermove: ƒ () get onpointerout: ƒ () set onpointerout: ƒ () get onpointerover: ƒ () set onpointerover: ƒ () get onpointerup: ƒ () set onpointerup: ƒ () get onprogress: ƒ () set onprogress: ƒ () get onratechange: ƒ () set onratechange: ƒ () get onreadystatechange: ƒ () set onreadystatechange: ƒ () Variables & Functions 122 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV get onreset: ƒ () set onreset: ƒ () get onresize: ƒ () set onresize: ƒ () get onscroll: ƒ () set onscroll: ƒ () get onsearch: ƒ () set onsearch: ƒ () get onseeked: ƒ () set onseeked: ƒ () get onseeking: ƒ () set onseeking: ƒ () get onselect: ƒ () set onselect: ƒ () get onselectionchange: ƒ () set onselectionchange: ƒ () get onselectstar t: ƒ () set onselectstart: ƒ () get onshow: ƒ () set onshow: ƒ () get onstalled: ƒ () set onstalled: ƒ () get onsubmit: ƒ () set onsubmit: ƒ () get onsuspend: ƒ () set onsuspend: ƒ () get ontimeupdate: ƒ () set ontimeupdate: ƒ () get ontoggle: ƒ () set ontoggle: ƒ () get onvolumechange: ƒ () set onvolumechange: ƒ () get onwaiting: ƒ () set onwaiting: ƒ () get onwebkitfullscreenchange: ƒ () set onwebkitfullscreenchange: ƒ () get onwebkitfullscreenerror: ƒ () set onwebkitfullscreenerror: ƒ () get onwheel: ƒ () set onwheel: ƒ () get origin: ƒ () get plugins: ƒ () get pointerLockElement: ƒ () get preferredStylesheetSet: ƒ () Variables & Functions 123 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV get readyState: ƒ () get referrer: ƒ () get rootElement: ƒ () get scripts: ƒ () get scrollingElement: ƒ () get selectedStylesheetSet: ƒ () set selectedStylesheetSet: ƒ () get styleSheets: ƒ () get title: ƒ () set title: ƒ () get visibilityState: ƒ () get webkitCurrentFullScreenElement: ƒ () get webkitFullscreenElement: ƒ () get webkitFullscreenEnabled: ƒ () get webkitHidden: ƒ () get webkitIsFullScreen: ƒ () get webkitVisibilityState: ƒ () get xmlEncoding: ƒ () get xmlStandalone: ƒ () set xmlStandalone: ƒ () get xmlVersion: ƒ () set xmlVersion: ƒ () __proto__: Node ATTRIBUTE_NODE: 2 CDATA_SECTION_NODE: 4 COMMENT_NODE: 8 DOCUMENT_FRAGMENT_NODE: 11 DOCUMENT_NODE: 9 DOCUMENT_POSITION_CONTAINED_BY: 16 DOCUMENT_POSITION_CONTAINS: 8 DOCUMENT_POSITION_DISCONNECTED: 1 DOCUMENT_POSITION_FOLLOWING: 4 DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: DOCUMENT_POSITION_PRECEDING: 2 DOCUMENT_TYPE_NODE: 10 ELEMENT_NODE: 1 ENTITY_NODE: 6 ENTITY_REFERENCE_NODE: 5 NOTATION_NODE: 12 PROCESSING_INSTRUCTION_NODE: 7 TEXT_NODE: 3 appendChild: ƒ appendChild() baseURI: (...) Variables & Functions 124 / 178 jeudi, 4. avril 2019 (10:48 ) 32 J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV childNodes: (...) cloneNode: ƒ cloneNode() compareDocumentPosition: ƒ compareDocumentPosition() contains: ƒ contains() firstChild: (...) getRootNode: ƒ getRootNode() hasChildNodes: ƒ hasChildNodes() insertBefore: ƒ insertBefore() isConnected: (...) isDefaultNamespace: ƒ isDefaultNamespace() isEqualNode: ƒ isEqualNode() isSameNode: ƒ isSameNode() lastChild: (...) lookupNamespaceURI: ƒ lookupNamespaceURI() lookupPrefix: ƒ lookupPrefix() nextSibling: (...) nodeName: (...) nodeType: (...) nodeValue: (...) normalize: ƒ normalize() ownerDocument: (...) parentElement: (...) parentNode: (...) previousSibling: (...) removeChild: ƒ removeChild() replaceChild: ƒ replaceChild() textContent: (...) constructor: ƒ Node() Symbol(Symbol.toStringTag): "Node"get baseURI: ƒ () get childNodes: ƒ () get firstChild: ƒ () get isConnected: ƒ () get lastChild: ƒ () get nextSibling: ƒ () get nodeName: ƒ () get nodeType: ƒ () get nodeValue: ƒ () set nodeValue: ƒ () get ownerDocument: ƒ () get parentElement: ƒ () get parentNode: ƒ () Variables & Functions 125 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV get previousSibling: ƒ () get textContent: ƒ () set textContent: ƒ () __proto__: EventTargetaddEventListener: ƒ addEventListener() dispatchEvent: ƒ dispatchEvent() removeEventListener: ƒ removeEventListener() constructor: ƒ EventTarget() Symbol(Symbol.toStringTag): "EventTarget" __proto__: constructor: ƒ Object() hasOwnProperty: ƒ hasOwnProperty() isPrototypeOf: ƒ isPrototypeOf() propertyIsEnumerable: ƒ propertyIsEnumerable() toLocaleString: ƒ toLocaleString() toString: ƒ toString() valueOf: ƒ valueOf() __defineGetter__: ƒ __defineGetter__() __defineSetter__: ƒ __defineSetter__() __lookupGetter__: ƒ __lookupGetter__() __lookupSetter__: ƒ __lookupSetter__() get __proto__: ƒ __proto__() set __proto__: ƒ __proto__() Attributs de l’objet Event avec la boucle for...in : <script type="text/javascript"> for(i in Event) console.log( "> "+i+" = "+Event[i]) </script> Exécution : Variables & Functions 126 / 178 jeudi, 4. avril 2019 (10:48 ) > > > > > > > > J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV NONE = 0 membres.html:2:19 CAPTURING_PHASE = 1 AT_TARGET = 2 BUBBLING_PHASE = 3 ALT_MASK = 1 CONTROL_MASK = 2 SHIFT_MASK = 4 META_MASK = 8 Attributs de l’objet Event à la console : Event.prototype Affichage : Event {NONE: 0, CAPTURING_PHASE: 1, AT_TARGET: 2, BLING_PHASE: 3, MOUSEDOWN: 1…} AT_TARGET: 2 BLUR: 8192 BUBBLING_PHASE: 3 CAPTURING_PHASE: 1 CHANGE: 32768 CLICK: 64 DBLCLICK: 128 DRAGDROP: 2048 FOCUS: 4096 KEYDOWN: 256 KEYPRESS: 1024 KEYUP: 512 MOUSEDOWN: 1 MOUSEDRAG: 32 MOUSEMOVE: 16 MOUSEOUT: 8 MOUSEOVER: 4 MOUSEUP: 2 NONE: 0 SELECT: 16384 bubbles: (...) cancelBubble: (...) cancelable: (...) composed: (...) Variables & Functions 127 / 178 jeudi, 4. avril 2019 (10:48 ) BUB- J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV composedPath: ƒ composedPath() currentTarget: (...) defaultPrevented: (...) eventPhase: (...) initEvent: ƒ initEvent() path: (...) preventDefault: ƒ preventDefault() returnValue: (...) srcElement: (...) stopImmediatePropagation: ƒ stopImmediatePropagation() stopPropagation: ƒ stopPropagation() target: (...) timeStamp: (...) type: (...) constructor: ƒ Event() Symbol(Symbol.toStringTag): "Event" get bubbles: ƒ () get cancelBubble: ƒ () set cancelBubble: ƒ () get cancelable: ƒ () get composed: ƒ () get currentTarget: ƒ () get defaultPrevented: ƒ () get eventPhase: ƒ () get path: ƒ () get returnValue: ƒ () set returnValue: ƒ () get srcElement: ƒ () get target: ƒ () get timeStamp: ƒ () get type: ƒ () __proto__: constructor: ƒ Object() hasOwnProperty: ƒ hasOwnProperty() isPrototypeOf: ƒ isPrototypeOf() propertyIsEnumerable: ƒ propertyIsEnumerable() toLocaleString: ƒ toLocaleString() toString: ƒ toString() valueOf: ƒ valueOf() __defineGetter__: ƒ __defineGetter__() __defineSetter__: ƒ __defineSetter__() __lookupGetter__: ƒ __lookupGetter__() __lookupSetter__: ƒ __lookupSetter__() get __proto__: ƒ __proto__() set __proto__: ƒ __proto__() Variables & Functions 128 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu arguments: (...) caller: (...) length: 1 name: "set __proto__" __proto__: ƒ () [[Scopes]]: Scopes[0] JavaScript Tome-IV EventTarget est une interface créée par des objets qui peuvent recevoir des events et peuvent avoir des listeners pour eux p.e. Element, document, window, XMLHttpRequest, AudioNode, AudioContext,.... Ces objets peuvent aussi rediriger les event handlers via propriétés et méthodes. Les Méthodes de EventTarget : * EventTarget.addEventListener() : Attache un event handler d’un type spécifique d’event sur le EventTarget. * EventTarget.removeEventListener() : Détache un event listener d’un EventTarget. * EventTarget.dispatchEvent() : Dispatch un event à cet EventTarget. <style> span{position:absolute;top:4em} span,div{padding:1em;border:1px solid} div{margin:5em 0 0 0;} body{background:#FFEE66;height:20em;border-radius:2.5em} </style> <body id="body";> My Body <br><span id="clic"> My SPAN : CLICK = Déclenche l'action </span><br> Variables & Functions 129 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV <div id="m_over"> My DIV : MOUSEOVER = Toggle le Span Event </div> My Body </body> <script type="text/javascript"> var body = document.querySelector('body'), // ou alternativement // var body = document.getElementById('body'), ediv = document.getElementById('clic'), // Pas de querySelector() ici // ediv = document.querySelector('clic'), espan = document.getElementById('m_over'), // Pas de querySelector ici // espan = document.querySelector('m_over'), mo=toggle = false; function makeBackgroundYellow() { if (toggle) { body.style.border = '3ex dashed'; } else { body.style.border = "1ex solid"; } toggle = !toggle; } ediv.addEventListener('click', makeBackgroundYellow, false ); espan.addEventListener('mouseover', function () { if(!mo) { ediv.removeEventListener( 'click', makeBackgroundYellow, false); document.getElementById('m_over').innerHTML= "!! DEACTIVATED !! : HOVER TO ACTIVATE" document.getElementById('m_over').style.background ="crimson" document.getElementById('m_over').style.color ="yellow" Variables & Functions 130 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV } else { ediv.addEventListener( 'click', makeBackgroundYellow, false); document.getElementById('m_over').innerHTML ="**ACTIVATED** : HOVER TO DEACTIVATE" document.getElementById('m_over').style.background ="lightgreen" document.getElementById('m_over').style.color ="darkblue" } mo=!mo; }); </script> Pour l’objet location : <script type="text/javascript"> for(i in location) console.log( "> "+i+" = "+location[i]) </script> Exécution : > > > > > > > > > > > > > href = file:///H:/DADET/PROGS/membres.html origin = null membres.html:2:22 protocol = file: host = hostname = port = pathname = /H:/DADET/PROGS/membres.html search = hash = assign = function assign() replace = function replace() reload = function reload() toString = function toString() Variables & Functions 131 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Attributs de l’objet navigator avec la boucle for...in : <script type="text/javascript"> for(i in navigator) console.log( "> "+i+" = "+ navigator[i]) </script> Exécution : > vibrate = function vibrate() > javaEnabled = function javaEnabled() > getGamepads = function getGamepads() > getVRDisplays = function getVRDisplays() > mozGetUserMedia = function mozGetUserMedia() > sendBeacon = function sendBeacon() > requestMediaKeySystemAccess = function requestMediaKeySystemAccess() > registerProtocolHandler = function registerProtocolHandler() > registerContentHandler = function registerContentHandler() > taintEnabled = function taintEnabled() > permissions = [object Permissions] > mimeTypes = [object MimeTypeArray] > plugins = [object PluginArray] > doNotTrack = unspecified > oscpu = Windows NT 6.1; Win64; x64 > vendor = > vendorSub = > productSub = 20100101 > cookieEnabled = true > buildID = 20171206182557 > activeVRDisplays = > mediaDevices = [object MediaDevices] > serviceWorker = [object ServiceWorkerContainer] > hardwareConcurrency = 4 > geolocation = [object Geolocation] > appCodeName = Mozilla > appName = Netscape > appVersion = 5.0 (Windows) > platform = Win64 > userAgent = Mozilla/5.0 (Windows NT 6.1; Win64; x64; Variables & Functions 132 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu rv:57.0) Gecko/20100101 Firefox/57.0 > product = Gecko > language = en-US > languages = en-US,en > onLine = false > storage = [object StorageManager] JavaScript Tome-IV Attributs de l’objet screeen avec la boucle for...in : <script type="text/javascript"> for(i in screen) console.log( "> "+i+" = "+screen[i]) </script> Exécution : > > > > > > > > > > > > > > > > > > mozLockOrientation = function mozLockOrientation() mozUnlockOrientation = function mozUnlockOrientation() availWidth = 1538 availHeight = 900 width = 1600 height = 900 colorDepth = 24 pixelDepth = 24 top = 0 left = 0 availTop = 0 availLeft = 62 mozOrientation = landscape-primary onmozorientationchange = null orientation = [object ScreenOrientation] addEventListener = function addEventListener() removeEventListener = function removeEventListener() dispatchEvent = function dispatchEvent() Attributs de l’objet screen avec « screen » à la console : Screen { availWidth: 1858, availHeight: 1080, width: 1920, height: 1080, colorDepth: 24, pixelDepth: 24, top: 0, left: 0, availTop: 0, availLeft: 62 } Variables & Functions 133 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Screen availHeight: 1080 availLeft: 62 availTop: 0 availWidth: 1858 colorDepth: 24 height: 1080 left: 0 mozOrientation: "landscape-primary" onmozorientationchange: null orientation: ScreenOrientation { primary", angle: 0, onchange: null } angle: 0 onchange: null type: "landscape-primary" type: "landscape- __proto__: ScreenOrientationPrototype { lock: lock(), unlock: unlock(), type: Getter, … } angle: Getter constructor: function () lock: function lock() onchange: Getter & Setter type: Getter unlock: function unlock() __proto__: EventTargetPrototype { addEventListener: addEventListener(), removeEventListener: removeEventListener(), dispatchEvent: dispatchEvent(), … } pixelDepth: 24 top: 0 width: 1920 __proto__: ScreenPrototype availHeight: Getter availLeft: Getter availTop: Getter availWidth: Getter colorDepth: Getter constructor: function () height: Getter left: Getter mozLockOrientation: function mozLockOrientation() mozOrientation: Getter Variables & Functions 134 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV mozUnlockOrientation: function mozUnlockOrientation() onmozorientationchange: Getter & Setter orientation: Getter pixelDepth: Getter top: Getter width: Getter __proto__: EventTargetPrototype { addEventListener: addEventListener(), removeEventListener: removeEventListener(), dispatchEvent: dispatchEvent(), … } addEventListener: function addEventListener() constructor: function () dispatchEvent: function dispatchEvent() removeEventListener: function removeEventListener() __proto__: Object { … } Attributs de l’objet Array avec « screen » à la console : Avec <script type="text/javascript"> console.log(new Array()) </script> ou <script type="text/javascript"> console.log(Array.prototype) </script> Exécution : [] length: 0 __proto__: Array(0) concat: ƒ concat() constructor: ƒ Array() copyWithin: ƒ copyWithin() entries: ƒ entries() every: ƒ every() Variables & Functions 135 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu fill: ƒ fill() filter: ƒ filter() find: ƒ find() findIndex: ƒ findIndex() forEach: ƒ forEach() includes: ƒ includes() indexOf: ƒ indexOf() join: ƒ join() keys: ƒ keys() lastIndexOf: ƒ lastIndexOf() length: 0 map: ƒ map() pop: ƒ pop() push: ƒ push() reduce: ƒ reduce() reduceRight: ƒ reduceRight() reverse: ƒ reverse() shift: ƒ shift() slice: ƒ slice() some: ƒ some() sort: ƒ sort() splice: ƒ splice() toLocaleString: ƒ toLocaleString() toString: ƒ toString() unshift: ƒ unshift() Symbol(Symbol.iterator): ƒ values() JavaScript Tome-IV Symbol(Symbol.unscopables): {copyWithin: true, entries: true, fill: true, find: true, findIndex: true, …} __proto__: constructor: ƒ Object() hasOwnProperty: ƒ hasOwnProperty() isPrototypeOf: ƒ isPrototypeOf() propertyIsEnumerable: ƒ propertyIsEnumerable() toLocaleString: ƒ toLocaleString() toString: ƒ toString() unwatch: function unwatch() valueOf: ƒ valueOf() watch: function watch() __defineGetter__: ƒ __defineGetter__() __defineSetter__: ƒ __defineSetter__() __lookupGetter__: ƒ __lookupGetter__() __lookupSetter__: ƒ __lookupSetter__() get __proto__: ƒ __proto__() Variables & Functions 136 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu set __proto__: ƒ __proto__() JavaScript Tome-IV Propriétés de Array avec Object.getOwnPropertyNames(Array) : Array [ "isArray", "concat", "lastIndexOf", "indexOf", "forEach", "map", "filter", "every", "some", "reduce", … ] : 0: "isArray" 1: "concat" 2: "lastIndexOf" 3: "indexOf" 4: "forEach" 5: "map" 6: "filter" 7: "every" 8: "some" 9: "reduce" 10: "reduceRight" 11: "join" 12: "reverse" 13: "sort" 14: "push" 15: "pop" 16: "shift" 17: "unshift" 18: "splice" 19: "slice" 20: "from" 21: "of" 22: "prototype" 23: "length" 24: "name" length: 25 __proto__: Array [] Propriétés de Array avec Array.prototype : Array [] concat: function concat() Variables & Functions 137 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV constructor: function Array() copyWithin: function copyWithin() entries: function entries() every: function every() fill: function fill() filter: function filter() find: function find() findIndex: function findIndex() forEach: function forEach() includes: function includes() indexOf: function indexOf() join: function join() keys: function keys() lastIndexOf: function lastIndexOf() length: 0 map: function map() pop: function pop() push: function push() reduce: function reduce() reduceRight: function reduceRight() reverse: function reverse() shift: function shift() slice: function slice() some: function some() sort: function sort() splice: function splice() toLocaleString: function toLocaleString() toSource: function toSource() toString: function toString() unshift: function unshift() Symbol(Symbol.iterator): undefined Symbol(Symbol.unscopables): undefined __proto__: Object { … } Voyons quelques méthodes de Array : Array.splice() : <script type="text/javascript"> "use strict"; var spliced, copy, arr=[45,33,22,11,44,55,75,27]; Variables & Functions 138 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu // Créer copie individuelle de arr copy=arr.map(x=>x) JavaScript Tome-IV var remIdxSplice = (list,idx) => { // Retirer 1 élément à partir de l'index idx spliced=list.splice(idx,1); return list; // Retourne la nouvelle copy. } console.log(arr); // Afficher l'Array initiale console.log(copy); // Afficher la copy initiale // Retirer 1 élément de copy à partir de l'index 3 var ret=remIdxSplice(copy,3); console.log(arr); // Afficher l'Array initiale console.log(copy); // Afficher la nouvelle copy console.log(ret) // Afficher résultat de splice() console.log(spliced) // Afficher l'élément retiré console.log(arr) // Afficher de nouveau l'Array initiale console.log(arr.splice(3)) // Afficher splice de arr console.log(arr) // Afficher arr splicée </script> Exécution : Array Array Array Array Array Array Array Array [ [ [ [ [ [ [ [ 45, 33, 45, 33, 45, 33, 45, 33, 45, 33, 11 ] 45, 33, 11, 44, 22, 22, 22, 22, 22, 11, 11, 11, 44, 44, 44, 44, 44, 55, 55, 55, 55, 55, 75, 75, 75, 27 ] 75, 27 ] 75, 27 ] 27 ] 27 ] 22, 11, 44, 55, 75, 27 ] 55, 75, 27 ] test.html:14:3 test.html:15:3 test.html:19:3 test.html:20:3 test.html:21:3 test.html:22:3 test.html:23:3 test.html:24:3 Array.splice() et Array.delete() 1 : <script type="text/javascript"> "use strict"; var array = [2, 7, 5, 9, 10, 6, 5, 2, 5]; var index = array.indexOf(5); console.log("initial = ") console.log(array) Variables & Functions 139 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV console.log("indexOf(5) = "+ index) if (index > -1) { var sres = array.splice(index, 3); } console.log("Spliced = ") console.log(sres) console.log("Remained = ") console.log(array) </script> Exécution : initial = (9) [2, 7, 5, 9, 10, 6, 5, 2, 5] indexOf(5) = 2 /// DELETED /// Deleted = true Remained = (9) [2, 7, empty, 9, 10, 6, 5, 2, 5] /// SPLICED /// Spliced = test.html:26 (3) [empty, 9, 10] Remained = (6) [2, 7, 6, 5, 2, 5] Array.splice() et Array.delete() 1 : <script type="text/javascript"> "use strict"; var arrs = [2,9,2,3,2,2,7,2,2], arrd = [2,9,2,3,2,2,7,2,2], el=2; console.log("Avant splice & delete = "); console.log(arrs); for(var i = arrs.length-1; i>=0 ;i--) { if(arrs[i] === el) { arrs.splice(i, 1); delete arrd[i]; } } Variables & Functions 140 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu console.log("Après le splice = "); console.log(arrs); JavaScript Tome-IV console.log("Après le delete = "); console.log(arrd); console.log('Après filtrage des undefined :'); console.log(arrd.filter(function(d){return typeof d !== "undefined"})); </script> Exécution avec YANDEX : Avant splice & delete = (9) [2, 9, 2, 3, 2, 2, 7, 2, 2] Après le splice = (3) [9, 3, 7] Après le delete = (9) [empty, 9, empty, 3, empty × 2, 7, empty × 2] Après filtrage des undefined : (3) [9, 3, 7] Exécution avec FIREFOX : Avant splice & delete = Array [ 9, 3, 7 ] Après le splice = Array [ 9, 3, 7 ] Après le delete = Array [ <1 empty slot>, 9, <1 empty slot>, 3, <2 empty slots>, 7, <2 empty slots> ] Après filtrage des undefined : Array [ 9, 3, 7 ] Array.splice() et Array.delete() 2 : <script type="text/javascript"> "use strict"; var s, arrays,arrayd,array; arrays=[2,9,2,3,2,2,7,2,2]; Variables & Functions 141 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu arrayd=[2,9,2,3,2,2,7,2,2]; array =[2,9,2,3,2,2,7,2,2]; JavaScript Tome-IV var cptr=0, flags, flagd, sp, dl, el=2; console.log(array+" vs "+el); for(var i = array.length - 1; i >= 0; i--) { console.log("\n("+ ++cptr+") >==========<"); console.log("INITIAL ARRAY = "); console.log(array); console.log("SPLICED ARRAY = "); console.log(arrays); console.log("DELETED ARRAY = "); console.log(arrayd); if(arrays[i] === el) { sp=arrays.splice(i, 1); flags=1; } else { sp="Nothing"; flags=0 } s="===> arrays["+i+"] = "+arrays[i]+" après SPLICE()"; console.log(sp+" a été spliced"); if(flags)console.log(s+" *****"); if(arrayd[i] === el) { dl=delete arrayd[i]; flagd=1; } else { dl="Nothing"; flagd=0 } s="===> arrayd["+i+"] = "+arrayd[i]+" après delete arrayd["+i+"]"; console.log(dl); console.log(" deleted"); if(flagd)console.log(s+" -----"); } </script> Exécution : Variables & Functions 142 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV 2,9,2,3,2,2,7,2,2 vs 2 (1) >==========< INITIAL ARRAY = (9) [2, 9, SPLICED ARRAY = (9) [2, 9, DELETED ARRAY = (9) [2, 9, 2 a été spliced ===> arrays[8] = undefined true deleted ===> arrayd[8] = undefined (2) >==========< INITIAL ARRAY = (9) [2, 9, SPLICED ARRAY = (8) [2, 9, DELETED ARRAY = (9) [2, 9, 1] 2 a été spliced ===> arrays[7] = undefined true deleted ===> arrayd[7] = undefined 2, 3, 2, 2, 7, 2, 2] 2, 3, 2, 2, 7, 2, 2] 2, 3, 2, 2, 7, 2, 2] après SPLICE() ***** après delete arrayd[8] ----2, 3, 2, 2, 7, 2, 2] 2, 3, 2, 2, 7, 2] 2, 3, 2, 2, 7, 2, undefined × après SPLICE() ***** après delete arrayd[7] ----- (3) >==========< INITIAL ARRAY = (9) [2, 9, 2, 3, 2, 2, 7, 2, 2] SPLICED ARRAY = (7) [2, 9, 2, 3, 2, 2, 7] DELETED ARRAY = (9) [2, 9, 2, 3, 2, 2, 7, undefined × 2] Nothing a été spliced Nothing deleted (4) >==========< INITIAL ARRAY = (9) [2, 9, 2, 3, 2, 2, 7, 2, 2] SPLICED ARRAY = (7) [2, 9, 2, 3, 2, 2, 7] DELETED ARRAY = (9) [2, 9, 2, 3, 2, 2, 7, undefined × 2] 2 a été spliced ===> arrays[5] = 7 après SPLICE() ***** true deleted ===> arrayd[5] = undefined après delete arrayd[5] ----(5) >==========< INITIAL ARRAY = (9) [2, 9, 2, 3, 2, 2, 7, 2, 2] SPLICED ARRAY = (6) [2, 9, 2, 3, 2, 7] DELETED ARRAY = (9) [2, 9, 2, 3, 2, undefined × 1, 7, undefined × 2] 2 a été spliced ===> arrays[4] = 7 après SPLICE() ***** Variables & Functions 143 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV true deleted ===> arrayd[4] = undefined après delete arrayd[4] ----(6) >==========< INITIAL ARRAY = (9) [2, 9, 2, 3, 2, 2, 7, 2, 2] SPLICED ARRAY = (5) [2, 9, 2, 3, 7] DELETED ARRAY = (9) [2, 9, 2, 3, undefined × 2, 7, undefined × 2] Nothing a été spliced Nothing deleted (7) >==========< INITIAL ARRAY = (9) [2, 9, 2, 3, 2, 2, 7, 2, 2] SPLICED ARRAY = (5) [2, 9, 2, 3, 7] DELETED ARRAY = (9) [2, 9, 2, 3, undefined × 2, 7, undefined × 2] 2 a été spliced ===> arrays[2] = 3 après SPLICE() ***** true deleted ===> arrayd[2] = undefined après delete arrayd[2] ----(8) >==========< INITIAL ARRAY = (9) [2, 9, 2, 3, 2, 2, 7, 2, 2] SPLICED ARRAY = (4) [2, 9, 3, 7] DELETED ARRAY = (9) [2, 9, undefined × 1, 3, undefined × 2, 7, undefined × 2] Nothing a été spliced Nothing deleted (9) >==========< INITIAL ARRAY = (9) [2, 9, 2, 3, 2, 2, 7, 2, 2] SPLICED ARRAY = (4) [2, 9, 3, 7] DELETED ARRAY = (9) [2, 9, undefined × 1, 3, undefined × 2, 7, undefined × 2] 2 a été spliced ===> arrays[0] = 9 après SPLICE() ***** true deleted ===> arrayd[0] = undefined après delete arrayd[0] ----- Array.filter() : <script type="text/javascript"> "use strict"; Variables & Functions 144 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV const filt = 7 let arr = [5, 7, 2, 7, 1, 7, 7] var nar nar = arr.filter(elm => elm !== filt) console.log(arr) console.log("(filter!==7)") console.log(nar) nar = arr.filter(elm => elm === filt) console.log(arr) console.log("(filter===7)") console.log(nar) </script> Exécution : (7) [5, 7, 2, 7, 1, 7, 7] (filter!==7) (3) [5, 2, 1] (7) [5, 7, 2, 7, 1, 7, 7] (filter===7) (4) [7, 7, 7, 7] Array.includes() : <script type="text/javascript"> "use strict"; const ref = [2, 3, 5] var narr; let arr = [1, 2, 3, 4, 5, 3, 1] console.log(arr) console.log(ref) narr = arr.filter(item => !ref.includes(item)) console.log(narr) narr = arr.filter(item => ref.includes(item)) console.log(narr) </script> Variables & Functions 145 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Exécution : (7) [1, 2, 3, 4, 5, 3, 1] (3) [2, 3, 5] (3) [1, 4, 1] (4) [2, 3, 5, 3] Array.map() : <script type="text/javascript"> "use strict"; var arr=[] for(var k=0;k<10;k++) arr.push(Math.round(Math.random()*1000)) var ret=arr.map(x => String(x).padStart(3,0)) console.log(ret) console.log(String(ret)) console.log(ret.toString()) </script> Exécution : Array [ "770", "047", "909", "240", "005", "558", "823", "153" ] 770,047,909,240,005,574,891,558,823,153 770,047,909,240,005,574,891,558,823,153 "574", "891", test.html:8:2 test.html:9:2 test.html:10:2 <script type="text/javascript"> "use strict"; var arr=[] for(var k=0;k<5;k++) arr.push(Math.round(Math.random()*10000)) var ret=arr.map(x => String(x).padEnd(5,"^")) console.log(ret) console.log(String(ret)) console.log(ret.toString()) Variables & Functions 146 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu </script> JavaScript Tome-IV Exécution : Array [ "10^^^", "3103^", "5350^", "8623^", "88^^^" ] test.html:8:2 10^^^,3103^,5350^,8623^,88^^^ test.html:9:2 10^^^,3103^,5350^,8623^,88^^^ test.html:10:2 Array.map() : <script> var srcArray = ["string", 2018, {}]; var destArray = srcArray.map(function(x) { return typeof x; }); console.log("L'Array de destination = "); console.log(destArray); </script> Ici le paramètre formel « x » représente l’Array : Exécution avec YANDEX : L'Array de destination = (3) ["string", "number", "object"] En cliquant sur l’objet Array, on obtient. 1er A B C D E (3) ["string", "number", "object"] 0:"string" 1:"number" 2:"object" length:3 __proto__:Array(0) Au lieu de représenter l’objet (ici l’Array) par « x » on peut directement l’utiliser : Variables & Functions 147 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV <script> "use strict"; var src = ["texte", 2018, {}]; var dest = src.map(src => typeof src); console.log("L'Array de destination = "); console.log(dest); </script> Exécution avec YANDEX : L'Array de destination = (3) ["string", "number", "object"] (3) ["string", "number", "object"] 0:"string" 1:"number" 2:"object" length:3 __proto__ :Array(0) Exécution avec FIREFOX : L'Array de destination = Array [ "string", "number", "object" ] […] 0: "string" 1: "number" 2: "object" length: 3 __proto__: Array [] Array.reduce() : <script type="text/javascript"> 'use strict'; var arr = [25, 5, 0, 15, 10, 20]; console.log(arr.reduce((x, y) => x + y)); Variables & Functions 148 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu </script> JavaScript Tome-IV Exécution : 75 On peut accéder aux propriétés (clés) d’un objet de plusieurs façons : 1. Par le nom de la propriété. entre guillemets dans des crochets 2. Par le nom de la propriété précédé d’un point 3. Par un index <script type="text/javascript"> "use strict"; var dObj = { couleur:"rose", 50: "Cinquante", age:45, [2]:function(){console.log("Hello")}, 3: "Trois", ["quatre"]:function(){console.log("quatre")} } // var dObj = new dObj(); console.log(dObj["couleur"]) console.log(dObj["50"]) console.log(dObj.age) dObj[2]() console.log(dObj[3]) dObj["quatre"]() console.log("=====") for(var i in dObj)console.log(i+". "+dObj[i]) console.log(Object.values(dObj)) console.log(">===<") for(i in dObj)console.log(dObj[i]) </script> Exécution : rose test.html:14:3 Variables & Functions 149 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Cinquante test.html:15:3 45 test.html:16:3 Hello test.html:7:23 Trois test.html:18:3 quatre test.html:9:30 ===== test.html:20:3 2. function(){console.log("Hello")} test.html:21:21 3. Trois test.html:21:21 50. Cinquante test.html:21:21 couleur. rose test.html:21:21 age. 45 test.html:21:21 quatre. function(){console.log("quatre")} test.html:21:21 Array [ dObj(), "Trois", "Cinquante", "rose", 45, dObj() ] test.html:22:3 >===< test.html:23:3 dObj() length: 0 name: "2" prototype: Object { … } __proto__: function () test.html:24:17 Trois test.html:24:17 Cinquante test.html:24:17 rose test.html:24:17 45 test.html:24:17 dObj() test.html:24:17 length: 0 name: "quatre" prototype: Object { … } __proto__: function () CHAPITRE 6 : LES ARRAYS... : Syntaxe : var arr = new Array() var arr = new Array([taille]) var arr = new Array([el0[, el1[, ...[, elN]]]]) Exemples : Variables & Functions 150 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu <script type="text/javascript"> "use strict"; JavaScript Tome-IV // Array à taille initiale indéterminée var arrayObj = new Array() console.log(arrayObj.length) // Array à autant d'éléments var arrayObj = new Array(5, "text", {}, _=>{}) console.log(arrayObj.length) // Array à autant d'éléments var arrayObj = [5, "text", {}, _=>{}] console.log(arrayObj.length) // Array à taille initiale 5 éléments // Pas à élément unique = 5 var arrayObj = new Array(5) console.log(arrayObj.length) // Array à élément unique = 5 var arrayObj = new Array(Math.pow(2,3)) console.log(arrayObj.length) console.log(arrayObj[0]) // Array à élément unique = 5 var arrayObj = new Array("Quelletaille") console.log(arrayObj.length) console.log(arrayObj[0]) // Array à élément unique = 5 var arrayObj = new Array("Quelletaille".length) console.log(arrayObj.length) console.log(arrayObj[0]) // Array à élément unique = 5 var arrayObj = [5] console.log(arrayObj.length) // Array à élément unique = 5 var arrayObj = new Array([5]) console.log(arrayObj.length) // Array à élément unique = 5 var arrayObj = [Math.pow(2,3)] Variables & Functions 151 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu console.log(arrayObj.length) console.log(arrayObj[0]) JavaScript Tome-IV // Array à élément unique = 5 var arrayObj = ["Quelletaille"] console.log(arrayObj.length) console.log(arrayObj[0]) // Array à élément unique = 5 var arrayObj = ["Quelletaille".length] console.log(arrayObj.length) console.log(arrayObj[0]) </script> Exécution : 0 4 4 5 8 undefined 1 Quelletaille 12 undefined 1 1 1 8 1 Quelletaille 1 12 test.html:6:3 test.html:10:3 test.html:14:3 test.html:19:3 test.html:23:3 test.html:24:3 test.html:28:3 test.html:29:3 test.html:33:3 test.html:34:3 test.html:38:3 test.html:42:3 test.html:46:3 test.html:47:3 test.html:51:3 test.html:52:3 test.html:56:3 test.html:57:3 On ne peut accéder aux membres d’une Array que par un index <script type="text/javascript"> "use strict"; var arr = [ "rose", 45, function(){console.log("Hello")} Variables & Functions 152 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV ] console.log(arr[0]) console.log(arr[1]) arr[2] arr[2]() console.log(arr[2]()) console.log("=====") for(var i in arr)console.log(i+". "+arr[i]) </script> Exécution : rose 45 Hello undefined ===== 0. rose 1. 45 2. function(){console.log("Hello")} test.html:9:3 test.html:10:3 test.html:6:19 test.html:13:3 test.html:14:3 test.html:15:20 test.html:15:20 test.html:15:20 Méthodes entries et vaules apppliquée aux arrays : var arr = [ "rose", 45, function(){console.log("Hello")} ] console.log(arr[0]) console.log(arr[1]) console.log(arr[2]) // Affiche la fonction arr[2]() // Exécute la fonction console.log(arr[2]()) // Ne retourne rien (undefined) console.log("=====") for(var i in arr)console.log(i+". "+arr[i]) console.log(Object.entries(arr)); console.log(Object.values(arr)); console.log(">============<"); for(var [cle,val] of Object.entries(arr)) console.log("*"+cle+'^ '+val); Variables & Functions 153 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV // TypeError: // Object.values(...)[Symbol.iterator](...).next(...) // value is not iterable test.html:25:7 ///// for(var [cle,val] of Object.values(arr)) ///// console.log("*"+cle+'^ '+val); Exécution : rose test.html:9 45 test.html:10 ƒ (){console.log("Hello")} test.html:11 Hello test.html:6 Hello test.html:6 undefined test.html:13 ===== test.html:14 0. rose test.html:15 1. 45 test.html:15 2. function (){console.log("Hello")} test.html:15 (3) [Array(2), Array(2), Array(2)] test.html:16 1er 2e 3e 4e 5e 0:(2) ["0", "rose"] 1:(2) ["1", 45] 2:(2) ["2", ƒ] length:3 __proto__:Array(0) (3) ["rose", test.html:17 1er 2e 3e 4e 5e 45, ƒ] 0:"rose" 1:45 2:ƒ () length:3 __proto__:Array(0) >============< Variables & Functions 154 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV test.html:18 *0^ rose test.html:20 *1^ 45 test.html:20 *2^ function (){console.log("Hello")} test.html:20 Si c’était sur un objet , ce serait comme ceci : <scr ipt ty pe= "te xt/ ja vasc rip t"> "u se str ict "; va r a rr = { a:" ros e", 5:4 5, f:f unc tio n() {c onso le. log ("H ell o") } } co nso le. log (ar r.a ) co nso le. log (ar r[5 ]) co nso le. log (ar r.f ) // A ffi che la fo nct io n ar r[" f"] () / / E x éc ute la fo nc tion ar r.f () / / E x éc ute la fo nc tion co nso le. log (ar r.f () ) // Ne re tou rne ri en (un def ine d) co nso le. log ("= === =" ) fo r(v ar i i n a rr) co nsol e.l og( i+" . " +ar r[ i]) co nso le. log (Ob jec t. entr ies (ar r)) ; co nso le. log (Ob jec t. valu es( arr ) ); co nso le. log ("> === == ==== === <") ; fo r(v ar [cl e,v al] o f Ob jec t.e ntr ies (ar r) ) con sol e.l og( "* "+cl e+' ^ ' +va l); // T ype Err or: // O bje ct. val ues (.. .) [Sym bol .it era tor ](. .. ).ne xt( ... ) // v alu e i s n ot ite ra ble t es t.ht ml: 25: 7 //// / for (va r [ cle ,v al] of Obj ect .va lue s( arr) ) //// / c ons ole .l og(" *"+ cle +'^ '+ val ); </sc rip t> Exécution : rose test.html:9 45 Variables & Functions 155 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV test.html:10 ƒ (){console.log("Hello")} test.html:11 Hello 3test.html:6 undefined test.html:14 ===== test.html:15 5. 45 test.html:16 a. rose test.html:16 f. function (){console.log("Hello")} test.html:16 Array(3) 0: (2) ["5", 45] 1: (2) ["a", "rose"] 2: (2) ["f", ƒ] length: 3 __proto__: Array(0) test.html:17 Array(3) 0: 45 1: "rose" 2: ƒ () length: 3 __proto__: Array(0) test.html:18 >============< test.html:19 *5^ 45 test.html:21 *a^ rose test.html:21 *f^ function (){console.log("Hello")} test.html:21 Quelques méthodes de l’objet Array, en life : <script type="text/javascript"> "use strict"; var c1, c2, r, s, arr =[], arr2=[]; Variables & Functions 156 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV console.log(arr); console.log('### arr.push("1. Pushed") ==> '+arr.push("1. Pushed")) console.log(arr); console.log('### arr.unshift("2. Unshifted") ==> '+ arr.unshift("2. Unshifted")) console.log(arr); console.log('### arr.push("3. 2nd Push") ==> '+arr.push("3. 2nd Push")) console.log(arr); console.log('### (4. arr[arr.length]="ARR.LENGTH") ==> '+ (arr[arr.length]="4. ARR.LENGTH")) console.log(arr); console.log('### 5a. (r=arr.slice(0,2)) ==> '+(r=arr.slice(0,2))) console.log('### 5b. (s=arr.slice(2)) ==> '+(s=arr.slice(2))) console.log(arr); console.log(r); console.log(s); console.log('### 6. (c1=r.concat(s)) ==> '+(c1=r.concat(s))) console.log(arr); console.log("c1="+c1); console.log('### 7. (c2=r+["Add1","Add2"]+s) ==> '+ (c2=r+["Add1","Add2"]+s)) console.log(arr); console.log(c2); console.log( '### 8. (c2=r.concat(["Add1","Add2"]).concat(s)) ==> '+ (c2=r.concat(["Add1","Add2"]).concat(s))) console.log(arr); console.log(c2); console.log('### 9. (arr2=r.join(" <=> ") ==> '+(arr2=r.join(" <=> "))) console.log(arr2); console.log(r); console.log(s); console.log(arr2); console.log('### 10. (arr2="La bave du crapeau".split(" ") ==> '+(arr2="La bave du crapeau".split(" "))) // String.split() console.log(arr2); console.log('### c2.shift("11. Shifted") ==> '+c2.shift("11. Shifted")) console.log(c2); console.log('### c2.pop("12. Poped") ==> '+c2.pop("12. Poped")) console.log(c2); console.log('### 13. c2.splice(0,1) ==> '+c2.splice(0,1)) console.log(c2); </script> Variables & Functions 157 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Exécution : Array [] test.html:3:3 ### arr.push("1. Pushed") ==> 1 test.html:4:3 Array [ "1. Pushed" ] test.html:5:3 ### arr.unshift("2. Unshifted") ==> 2 test.html:6:3 Array [ "2. Unshifted", "1. Pushed" ] test.html:8:3 ### arr.push("3. 2nd Push") ==> 3 test.html:9:3 Array [ "2. Unshifted", "1. Pushed", "3. 2nd Push" ] test.html:10:3 ### (4. arr[arr.length]="ARR.LENGTH") ==> 4. ARR.LENGTH test.html:11:3 Array [ "2. Unshifted", "1. Pushed", "3. 2nd Push", "4. ARR.LENGTH" ] test.html:13:3 ### 5a. (r=arr.slice(0,2)) ==> 2. Unshifted,1. Pushed test.html:14:3 ### 5b. (s=arr.slice(2)) ==> 3. 2nd Push,4. ARR.LENGTH test.html:15:3 Array [ "2. Unshifted", "1. Pushed", "3. 2nd Push", "4. ARR.LENGTH" ] test.html:16:3 Array [ "2. Unshifted", "1. Pushed" ] test.html:17:3 Array [ "3. 2nd Push", "4. ARR.LENGTH" ] test.html:18:3 ### 6. (c1=r.concat(s)) ==> 2. Unshifted,1. Pushed,3. 2nd Push,4. ARR.LENGTH test.html:19:3 Array [ "2. Unshifted", "1. Pushed", "3. 2nd Push", "4. ARR.LENGTH" ] test.html:20:3 c1=2. Unshifted,1. Pushed,3. 2nd Push,4. ARR.LENGTH test.html:21:3 ### 7. (c2=r+["Add1","Add2"]+s) ==> 2. Unshifted,1. PushedAdd1,Add23. 2nd Push,4. ARR.LENGTH test.html:22:3 Array [ "2. Unshifted", "1. Pushed", "3. 2nd Push", "4. ARR.LENGTH" ] test.html:24:3 2. Unshifted,1. PushedAdd1,Add23. 2nd Push,4. ARR.LENGTH test.html:25:3 ### 8. (c2=r.concat(["Add1","Add2"]).concat(s)) ==> 2. Unshifted,1. Pushed,Add1,Add2,3. 2nd Push,4. ARR.LENGTH test.html:26:3 Array [ "2. Unshifted", "1. Pushed", "3. 2nd Push", "4. ARR.LENGTH" ] test.html:29:3 Array [ "2. Unshifted", "1. Pushed", "Add1", "Add2", "3. 2nd Push", "4. ARR.LENGTH" ] test.html:30:3 ### 9. (arr2=r.join(" <=> ") ==> 2. Unshifted <=> 1. Pushed test.html:31:3 2. Unshifted <=> 1. Pushed test.html:32:3 Array [ "2. Unshifted", "1. Pushed" ] test.html:33:3 Array [ "3. 2nd Push", "4. ARR.LENGTH" ] test.html:34:3 2. Unshifted <=> 1. Pushed test.html:35:3 ### 10. (arr2="La bave du crapeau".split(" ") ==> La,bave,du,crapeau test.html:36:3 Array [ "La", "bave", "du", "crapeau" ] test.html:37:3 ### c2.shift("11. Shifted") ==> 2. Unshifted test.html:38:3 Array [ "1. Pushed", "Add1", "Add2", "3. 2nd Push", "4. ARR.LENGTH" ] Variables & Functions 158 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV test.html:39:3 ### c2.pop("12. Poped") ==> 4. ARR.LENGTH test.html:40:3 Array [ "1. Pushed", "Add1", "Add2", "3. 2nd Push" ] test.html:41:3 ### 13. c2.splice(0,1) ==> 1. Pushed test.html:42:3 Array [ "Add1", "Add2", "3. 2nd Push" ] test.html:43:3 Array.forEach : <script type="text/javascript"> "use strict"; var arr=[-2,-1,0,1,2,3,4,5,6,7,8,9,10,20,30,40]; console.log("1 kByte, 1 MByte, 1 Giga, 1 Tera"); arr.forEach(x=>{ let r=Math.pow(2,x); console.log("2^"+x+" = "+r+" (×2= "+2*r+" | ×3= "+r*3+")"); }) </script> Exécution : 1 kByte, 1 MByte, 1 Giga, 1 Tera 2^-2 = 0.25 (×2= 0.5 | ×3= 0.75) 2^-1 = 0.5 (×2= 1 | ×3= 1.5) 2^0 = 1 (×2= 2 | ×3= 3) 2^1 = 2 (×2= 4 | ×3= 6) 2^2 = 4 (×2= 8 | ×3= 12) 2^3 = 8 (×2= 16 | ×3= 24) 2^4 = 16 (×2= 32 | ×3= 48) 2^5 = 32 (×2= 64 | ×3= 96) 2^6 = 64 (×2= 128 | ×3= 192) 2^7 = 128 (×2= 256 | ×3= 384) 2^8 = 256 (×2= 512 | ×3= 768) 2^9 = 512 (×2= 1024 | ×3= 1536) 2^10 = 1024 (×2= 2048 | ×3= 3072) 2^20 = 1048576 (×2= 2097152 | ×3= 3145728) 2^30 = 1073741824 (×2= 2147483648 | ×3= 3221225472) 2^40 = 1099511627776 (×2= 2199023255552 | ×3= 3298534883328) CHAPITRE 7 : LES MÉTHODES GETELEMENT... : getElementsByTagName("input"); getElementsByName("nrad"); getElementsByClassName("dummy"); Variables & Functions 159 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV getElementById("irad"); <script> function f(p) { console.log(p); tmp=""; t=document.getElementsByTagName("input"); n=document.getElementsByName("nrad"); c=document.getElementsByClassName("dummy"); i=document.getElementById("irad"); } f("...CHARGEMENT EN COURS"); d(); function d(){ nL=n.length; // Accès à t, n, c et i de f() console.log("n"+n+" * n.length="+nL) for(k=0;k<nL;k++){ console.log("==> n[k].name="+n[k].name+ " * n[k].id="+n[k].id); console.log("c[k].className="+ c[k].className+"t[k].tagName="+ t[k].tagName); v = n[k].value; // Les value des input tmp+=v+", "; // tmp="" définie dans f() } console.log(tmp); } </script> <body onload='f("...Depuis BODY")' onclick="d()"> <input type=radio name="nrad" id="irad1" class="dummy" value="Un"> <input type=radio name="nrad" id="irad2" class="dummy" value="Deux"> <input type=radio name="nrad" id="irad3" class="dummy" value="Trois"> <button><===Cliquez un bouton ou ici</button> </body> Exécution : Variables & Functions 160 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV ...CHARGEMENT EN COURS n[object NodeList] * n.length=0 ...Depuis BODY n[object NodeList] * n.length=3 ==> n[k].name=nrad * n[k].id=irad1 c[k].className=dummyt[k].tagName=INPUT ==> n[k].name=nrad * n[k].id=irad2 c[k].className=dummyt[k].tagName=INPUT ==> n[k].name=nrad * n[k].id=irad3 c[k].className=dummyt[k].tagName=INPUT Un, Deux, Trois, CHAPITRE 11 : COMMENT ACCÉDER À LA « CONSOLE » DANS UN NAVIGATEUR : Console (poste/pupitre de dialogue) affiche vos output, inspecte les éléments du fichier HTML, débogue les erreurs de programmation dans la page Web chargée : console d’erreurs et de outputs. De là vous pouvez accéder à d’autres outils comme un inspecteur de style et d’Éléments, un éditeur de style, une ligne de commande dans laquelle on peut saisir des opérations arithmétiques (essayez par exemple « 9e2/3.14<CR> et ça affichera 286.62420382165607 »), visualiser des variables (tapez le nom d’une variable et sa valeur s’affichera), envoyer des instructions / commandes simples JS ou pas (« 88 == "88" » donne true, tandis que « 88 === "88" » donne false)... Une instruction qui devrait être en une seule ligne peut être découpée en plusieurs lignes avec des CTRL-RET ou SHIFT-RET. Par exemple, quand on n’a pas à la portée de la main la documentation sur la propriété d’un objet que vous voulez utiliser, on peut connaître les propriétés de l’objet et éventuellement leurs valeurs, simplement en tapant à la ligne de commande de la console : var n=new Number(2018); <CR> n <CR> et la console affichera : Variables & Functions 161 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Number {[[PrimitiveValue]]: 0} On clique sur ce résultat ou sur quelques flèches de dépliement : 2e Number {[[PrimitiveValue]]: 0} F __proto__:Number I a b c d e f g h i j k l m n o p q r s t u constructor:ƒ Number() EPSILON:2.220446049250313e-16 MAX_SAFE_INTEGER:9007199254740991 MAX_VALUE:1.7976931348623157e+308 MIN_SAFE_INTEGER:-9007199254740991 MIN_VALUE:5e-324 NEGATIVE_INFINITY:-Infinity NaN:NaN POSITIVE_INFINITY:Infinity arguments:(...) caller:(...) isFinite:ƒ isFinite() isInteger:ƒ isInteger() isNaN:ƒ isNaN() isSafeInteger:ƒ isSafeInteger() length:1 name:"Number" parseFloat:ƒ parseFloat() parseInt:ƒ parseInt() prototype:Number {[[PrimitiveValue]]: 0, constructor: ƒ, t oExponential: ƒ, toFixed: ƒ, toPrecision: ƒ, toString: ƒ, …} __proto__:ƒ () [[Scopes]]:Scopes[0] I II III toExponential:ƒ toExponential() toFixed:ƒ toFixed() toLocaleString:ƒ toLocaleString() IV a b c toPrecision:ƒ toPrecision() arguments:(...) caller:(...) length:1 Variables & Functions 162 / 178 jeudi, 4. avril 2019 (10:48 ) d e f J.D.B. DIASOLUKA Nz. Luyalu name:"toPrecision" __proto__:ƒ () [[Scopes]]:Scopes[0] JavaScript Tome-IV I II toString:ƒ toString() valueOf:ƒ valueOf() III a b c d e f g h i j k l m __proto__: constructor:ƒ Object() hasOwnProperty:ƒ hasOwnProperty() isPrototypeOf:ƒ isPrototypeOf() propertyIsEnumerable:ƒ propertyIsEnumerable() toLocaleString:ƒ toLocaleString() toString:ƒ toString() valueOf:ƒ valueOf() __defineGetter__:ƒ __defineGetter__() __defineSetter__:ƒ __defineSetter__() __lookupGetter__:ƒ __lookupGetter__() __lookupSetter__:ƒ __lookupSetter__() get __proto__:ƒ __proto__() set __proto__:ƒ __proto__() I [[PrimitiveValue]]:0 A [[PrimitiveValue]]:0 Vous pouvez utiliser ces propriétés dans vos codes : n.constructor.EPSILON -> 2.220446049250313e-16 n.constructor.MAX_SAFE_INTEGER -> 9007199254740991 n.constructor.MAX_VALUE -> 1.7976931348623157e+308 n.constructor.MIN_SAFE_INTEGER -> -9007199254740991 n.constructor.MIN_VALUE -> 5e-324 Remarque : Tous les nombre dont la précision (nombre de chiffres représentatifs) est supérieure à celle de 1.7976931348623157000000001e+308 sont irreprésentables en JS. Quelques exemple concrets : Variables & Functions 163 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Tapons ceci à la ligne de commande de la console : var n=2018; -> undefined n.toExponential(); -> "2.018e+3" n.toExponential(5); -> "2.01800e+3" n.toFixed() -> "2018" n.toFixed(5) -> "2018.00000" n.toLocaleString() -> "2 018" n.toPrecision() -> "2018" n.toPrecision(5) -> "2018.0" n.toPrecision(6) -> "2018.00" n.toString() -> "2018" n.toString(8) -> "3742" n.toString(10) -> "2018" n.toString(2) -> "11111100010" n.toString(5) -> "31033" n.toString(16) -> "7e2" n.valueOf() -> 2018 n.hasOwnProperty('toPrecision') -> false n.isPrototypeOf('Number') -> false Essayons les autres (au prompt de la console) : var v="2018 a bien commencé!" -> undefined parseInt(v); -> 2018 var v="15.17 was sufficient!" -> undefined parseFloat(v); -> 15.17 var v="Année 2018 avec 15.17 USD";-> undefined parseInt(v); -> NaN parseFloat(v); -> NaN Voyons ce que ça donne pour l’objet String : On fait la même que ci-dessous, on remplace Number() par String() : Variables & Functions 164 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV String {length: 0, [[PrimitiveValue]]: ""} length: 0 __proto__: String anchor: anchor() { [native code] } big: big() { [native code] } blink: blink() { [native code] } bold: bold() { [native code] } charAt: charAt() { [native code] } charCodeAt: charCodeAt() { [native code] } codePointAt: codePointAt() { [native code] } concat: concat() { [native code] } constructor: String() { [native code] } endsWith: endsWith() { [native code] } fixed: fixed() { [native code] } fontcolor: fontcolor() { [native code] } fontsize: fontsize() { [native code] } includes: includes() { [native code] } indexOf: indexOf() { [native code] } italics: italics() { [native code] } lastIndexOf: lastIndexOf() { [native code] } length: 0link: link() { [native code] } localeCompare: localeCompare() { [native code] } match: match() { [native code] } normalize: normalize() { [native code] } repeat: repeat() { [native code] } replace: replace() { [native code] } search: search() { [native code] } slice: slice() { [native code] } small: small() { [native code] } split: split() { [native code] } startsWith: startsWith() { [native code] } strike: strike() { [native code] } sub: sub() { [native code] } substr: substr() { [native code] } substring: substring() { [native code] } sup: sup() { [native code] } toLocaleLowerCase: toLocaleLowerCase() { [native code] } toLocaleUpperCase: toLocaleUpperCase() { [native code] } toLowerCase: toLowerCase() { [native code] } toString: toString() { [native code] } toUpperCase: toUpperCase() { [native code] } trim: trim() { [native code] } trimLeft: trimLeft() { [native code] } Variables & Functions 165 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV trimRight: trimRight() { [native code] } trimWhitespace: () {valueOf: valueOf() { [native code] } Symbol(Symbol.iterator): [Symbol.iterator]() { [native code] } __proto__: Object__ defineGetter__: __defineGetter__() { [native code] } __defineSetter__: __defineSetter__() { [native code] } __lookupGetter__: __lookupGetter__() { [native code] } __lookupSetter__: __lookupSetter__() { [native code] } constructor: Object() { [native code] } hasOwnProperty: hasOwnProperty() { [native code] } isPrototypeOf: isPrototypeOf() { [native code] } propertyIsEnumerable: propertyIsEnumerable() { [native code] } toLocaleString: toLocaleString() { [native code] } toString: toString() { [native code] } valueOf: valueOf() { [native code] } get __proto__: __proto__() { [native code] } set __proto__: __proto__() { [native code] } [[PrimitiveValue]]: "" [[PrimitiveValue]]: "" Pour les propriétés (essentiellement des méthodes) de l’Object Date() il faut passer par le __prototype__ de son constructeur : var v=new Date(); v.__proto__ {constructor: ƒ, toString: ƒ, toDateString: ƒ, toTimeString: ƒ, toISOString: ƒ, …} Cliquons sur v.__proto__ {constructor: ƒ, toString: ƒ, toDateString: ƒ, toTimeString: ƒ, toISOString: ƒ, …} constructor: ƒ Date() getDate: ƒ getDate() getDay: ƒ getDay() getFullYear: ƒ getFullYear() getHours: ƒ getHours() Variables & Functions 166 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV getMilliseconds: ƒ getMilliseconds() getMinutes: ƒ getMinutes() getMonth: ƒ getMonth() getSeconds: ƒ getSeconds() getTime: ƒ getTime() getTimezoneOffset: ƒ getTimezoneOffset() getUTCDate: ƒ getUTCDate() getUTCDay: ƒ getUTCDay() getUTCFullYear: ƒ getUTCFullYear() getUTCHours: ƒ getUTCHours() getUTCMilliseconds: ƒ getUTCMilliseconds() getUTCMinutes: ƒ getUTCMinutes() getUTCMonth: ƒ getUTCMonth() getUTCSeconds: ƒ getUTCSeconds() getYear: ƒ getYear() setDate: ƒ setDate() setFullYear: ƒ setFullYear() setHours: ƒ setHours() setMilliseconds: ƒ setMilliseconds() setMinutes: ƒ setMinutes() setMonth: ƒ setMonth() setSeconds: ƒ setSeconds() setTime: ƒ setTime() setUTCDate: ƒ setUTCDate() setUTCFullYear: ƒ setUTCFullYear() setUTCHours: ƒ setUTCHours() setUTCMilliseconds: ƒ setUTCMilliseconds() setUTCMinutes: ƒ setUTCMinutes() setUTCMonth: ƒ setUTCMonth() setUTCSeconds: ƒ setUTCSeconds() setYear: ƒ setYear() toDateString: ƒ toDateString() toGMTString: ƒ toUTCString() toISOString: ƒ toISOString() toJSON: ƒ toJSON() toLocaleDateString: ƒ toLocaleDateString() toLocaleString: ƒ toLocaleString() toLocaleTimeString: ƒ toLocaleTimeString() toString: ƒ toString() toTimeString: ƒ toTimeString() toUTCString: ƒ toUTCString() valueOf: ƒ valueOf() Symbol(Symbol.toPrimitive): ƒ [Symbol.toPrimitive]() __proto__: constructor: ƒ Object() Variables & Functions 167 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV hasOwnProperty: ƒ hasOwnProperty() isPrototypeOf: ƒ isPrototypeOf() propertyIsEnumerable: ƒ propertyIsEnumerable() toLocaleString: ƒ toLocaleString() toString: ƒ toString() valueOf: ƒ valueOf() __defineGetter__: ƒ __defineGetter__() __defineSetter__: ƒ __defineSetter__() __lookupGetter__: ƒ __lookupGetter__() __lookupSetter__: ƒ __lookupSetter__() get __proto__: ƒ __proto__() set __proto__: ƒ __proto__() Propriétés de Node avec « Node.prototype » : Node est le parent des types DOM (interfaces) suivants : Document, Element, CharacterData (parent de Text, Comment, et CDATASection), ProcessingInstruction, DocumentFragment, DocumentType, Notation, Entity, EntityReference. Node {ELEMENT_NODE:1, ATTRIBUTE_NODE:2, TEXT_NODE:3, CDATA_SECTION_NODE:4, ENTITY_REFERENCE_NODE:5, …} ATTRIBUTE_NODE:2 CDATA_SECTION_NODE:4 COMMENT_NODE:8 DOCUMENT_FRAGMENT_NODE:11 DOCUMENT_NODE:9 DOCUMENT_POSITION_CONTAINED_BY:16 DOCUMENT_POSITION_CONTAINS:8 DOCUMENT_POSITION_DISCONNECTED:1 DOCUMENT_POSITION_FOLLOWING:4 DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32 DOCUMENT_POSITION_PRECEDING:2 DOCUMENT_TYPE_NODE:10 ELEMENT_NODE:1 Variables & Functions 168 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV ENTITY_NODE:6 ENTITY_REFERENCE_NODE:5 NOTATION_NODE:12 PROCESSING_INSTRUCTION_NODE:7 TEXT_NODE:3 appendChild:ƒ appendChild() baseURI:(...) childNodes:(...) cloneNode:ƒ cloneNode() compareDocumentPosition:ƒ compareDocumentPosition() contains:ƒ contains() firstChild:(...) getRootNode:ƒ getRootNode() hasChildNodes:ƒ hasChildNodes() insertBefore:ƒ insertBefore() isConnected:(...) isDefaultNamespace:ƒ isDefaultNamespace() isEqualNode:ƒ isEqualNode() isSameNode:ƒ isSameNode() lastChild:(...) lookupNamespaceURI:ƒ lookupNamespaceURI() lookupPrefix:ƒ lookupPrefix() nextSibling:(...) nodeName:(...) nodeType:(...) nodeValue:(...) normalize:ƒ normalize() ownerDocument:(...) parentElement:(...) parentNode:(...) previousSibling:(...) removeChild:ƒ removeChild() replaceChild:ƒ replaceChild() textContent:(...) constructor:ƒ Node() Symbol(Symbol.toStringTag):"Node"get baseURI:ƒ () Variables & Functions 169 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu get get get get get get get get set get get get get get set JavaScript Tome-IV childNodes:ƒ () firstChild:ƒ () isConnected:ƒ () lastChild:ƒ () nextSibling:ƒ () nodeName:ƒ () nodeType:ƒ () nodeValue:ƒ () nodeValue:ƒ () ownerDocument:ƒ () parentElement:ƒ () parentNode:ƒ () previousSibling:ƒ () textContent:ƒ () textContent:ƒ () __proto__:EventTarget addEventListener:ƒ addEventListener() dispatchEvent:ƒ dispatchEvent() removeEventListener:ƒ removeEventListener() constructor:ƒ EventTarget() Symbol(Symbol.toStringTag):"EventTarget" __proto__:Object constructor:ƒ Object() hasOwnProperty:ƒ hasOwnProperty() isPrototypeOf:ƒ isPrototypeOf() propertyIsEnumerable:ƒ propertyIsEnumerable() toLocaleString:ƒ toLocaleString() toString:ƒ toString() valueOf:ƒ valueOf() __defineGetter__:ƒ __defineGetter__() __defineSetter__:ƒ __defineSetter__() __lookupGetter__:ƒ __lookupGetter__() __lookupSetter__:ƒ __lookupSetter__() get __proto__:ƒ __proto__() set __proto__:ƒ __proto__() Variables & Functions 170 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Attributs de « Comment » : Avec la commande Comment.prototype dans la console : Affichage : CommentPrototype constructor: () length: 0 name: "Comment" prototype: CommentPrototype { … } Symbol(Symbol.hasInstance): undefined __proto__: function () __proto__: CharacterDataPrototype after: function after() appendData: function appendData() before: function before() constructor: () length: 0 name: "CharacterData" prototype: CharacterDataPrototype { substringData: substringData(), appendData: appendData(), insertData: insertData(), … } Symbol(Symbol.hasInstance): undefined __proto__: () ATTRIBUTE_NODE: 2 CDATA_SECTION_NODE: 4 COMMENT_NODE: 8 DOCUMENT_FRAGMENT_NODE: 11 DOCUMENT_NODE: 9 DOCUMENT_POSITION_CONTAINED_BY: 16 DOCUMENT_POSITION_CONTAINS: 8 DOCUMENT_POSITION_DISCONNECTED: 1 DOCUMENT_POSITION_FOLLOWING: 4 DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32 DOCUMENT_POSITION_PRECEDING: 2 DOCUMENT_TYPE_NODE: 10 ELEMENT_NODE: 1 ENTITY_NODE: 6 ENTITY_REFERENCE_NODE: 5 NOTATION_NODE: 12 Variables & Functions 171 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV PROCESSING_INSTRUCTION_NODE: 7 TEXT_NODE: 3 length: 0 name: "Node" prototype: NodePrototype { getRootNode: getRootNode(), hasChildNodes: hasChildNodes(), insertBefore: insertBefore(), … } Symbol(Symbol.hasInstance): undefined __proto__: function () data: Getter & Setter deleteData: function deleteData() insertData: function insertData() length: Getter nextElementSibling: Getter previousElementSibling: Getter remove: function remove() replaceData: function replaceData() replaceWith: function replaceWith() substringData: function substringData() Symbol(Symbol.unscopables): undefined __proto__: NodePrototype ATTRIBUTE_NODE: 2 CDATA_SECTION_NODE: 4 COMMENT_NODE: 8 DOCUMENT_FRAGMENT_NODE: 11 DOCUMENT_NODE: 9 DOCUMENT_POSITION_CONTAINED_BY: 16 DOCUMENT_POSITION_CONTAINS: 8 DOCUMENT_POSITION_DISCONNECTED: 1 DOCUMENT_POSITION_FOLLOWING: 4 DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32 DOCUMENT_POSITION_PRECEDING: 2 DOCUMENT_TYPE_NODE: 10 ELEMENT_NODE: 1 ENTITY_NODE: 6 ENTITY_REFERENCE_NODE: 5 NOTATION_NODE: 12 PROCESSING_INSTRUCTION_NODE: 7 TEXT_NODE: 3 appendChild: function appendChild() baseURI: Getter childNodes: Getter cloneNode: function cloneNode() compareDocumentPosition: function compareDocumentPosition() Variables & Functions 172 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV constructor: function () contains: function contains() firstChild: Getter getRootNode: function getRootNode() hasChildNodes: function hasChildNodes() insertBefore: function insertBefore() isConnected: Getter isDefaultNamespace: function isDefaultNamespace() isEqualNode: function isEqualNode() isSameNode: function isSameNode() lastChild: Getter lookupNamespaceURI: function lookupNamespaceURI() lookupPrefix: function lookupPrefix() nextSibling: Getter nodeName: Getter nodeType: Getter nodeValue: Getter & Setter normalize: function normalize() ownerDocument: Getter parentElement: Getter parentNode: Getter previousSibling: Getter removeChild: function removeChild() replaceChild: function replaceChild() textContent: Getter & Setter __proto__: EventTargetPrototype addEventListener: function addEventListener() constructor: function () dispatchEvent: function dispatchEvent() removeEventListener: function removeEventListener() __proto__: {…} __defineGetter__: function __defineGetter__() __defineSetter__: function __defineSetter__() __lookupGetter__: function __lookupGetter__() __lookupSetter__: function __lookupSetter__() constructor: function Object() hasOwnProperty: function hasOwnProperty() isPrototypeOf: function isPrototypeOf() propertyIsEnumerable: function propertyIsEnumerable() toLocaleString: function toLocaleString() toSource: function toSource() toString: function toString() unwatch: function unwatch() valueOf: function valueOf() watch: function watch() Variables & Functions 173 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV Exemple : <script type="text/javascript">"use strict"; var cm=new Comment("Notre commentaire généré") console.log(cm) console.log(cm.textContent) </script> Exécution : <!-- Notre commentaire généré --> Notre commentaire généré Attributs de RegExp : <script> console.log(RegExp.prototype); </script> Exécution : 1er A B C D E F G H I J K L M {constructor: ƒ, exec: ƒ, …} compile:ƒ compile() constructor:ƒ RegExp() dotAll:(...) exec:ƒ exec() flags:(...) global:(...) ignoreCase:(...) multiline:(...) source:(...) sticky:(...) test:ƒ test() toString:ƒ toString() unicode:(...) Variables & Functions 174 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu N O P Q R S T U V W X Y Z JavaScript Tome-IV Symbol(Symbol.match):ƒ [Symbol.match]() Symbol(Symbol.replace):ƒ [Symbol.replace]() Symbol(Symbol.search):ƒ [Symbol.search]() Symbol(Symbol.split):ƒ [Symbol.split]() get dotAll:ƒ dotAll() get flags:ƒ flags() get global:ƒ global() get ignoreCase:ƒ ignoreCase() get multiline:ƒ multiline() get source:ƒ source() get sticky:ƒ sticky() get unicode:ƒ unicode() __proto__:Object Attributs de RegExp avec Object.getOwnPropertyNames(RegExp) : Array [ "input", "lastMatch", "lastParen", "leftContext", "rightContext", "$1", "$2", "$3", "$4", "$5", … ] 0: "input" 1: "lastMatch" 2: "lastParen" 3: "leftContext" 4: "rightContext" 5: "$1" 6: "$2" 7: "$3" 8: "$4" 9: "$5" 10: "$6" 11: "$7" 12: "$8" 13: "$9" 14: "$_" 15: "$&" 16: "$+" 17: "$`" 18: "$'" Variables & Functions 175 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu 19: "prototype" 20: "length" 21: "name" length: 22 __proto__: Array [] JavaScript Tome-IV Attributs de RegExp avec For(i in RegExp) : input. lastMatch. undefined lastParen. leftContext. rightContext. $1. $2. $3. $4. $5. $6. $7. $8. $9. Attribtus de la console : Tapez simplement « console » au prompt de cette même console. console {debug: ƒ, error: ƒ, info: ƒ, log: ƒ, warn: ƒ, …} assert: ƒ assert() clear: ƒ clear() context: ƒ context() count: ƒ count() debug: ƒ debug() dir: ƒ dir() dirxml: ƒ dirxml() error: ƒ error() group: ƒ group() groupCollapsed: ƒ groupCollapsed() groupEnd: ƒ groupEnd() Variables & Functions 176 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV info: ƒ info() log: ƒ log() markTimeline: ƒ markTimeline() memory: (...) profile: ƒ profile() profileEnd: ƒ profileEnd() table: ƒ table() time: ƒ time() timeEnd: ƒ timeEnd() timeStamp: ƒ timeStamp() timeline: ƒ timeline() timelineEnd: ƒ timelineEnd() trace: ƒ trace() warn: ƒ warn() Symbol(Symbol.toStringTag): "Object" get memory: ƒ () set memory: ƒ () __proto__: __proto__: Object constructor: ƒ Object() hasOwnProperty: ƒ hasOwnProperty() isPrototypeOf: ƒ isPrototypeOf() propertyIsEnumerable: ƒ propertyIsEnumerable() toLocaleString: ƒ toLocaleString() toString: ƒ toString() valueOf: ƒ valueOf() __defineGetter__: ƒ __defineGetter__() __defineSetter__: ƒ __defineSetter__() __lookupGetter__: ƒ __lookupGetter__() __lookupSetter__: ƒ __lookupSetter__() get __proto__: ƒ __proto__() set __proto__: ƒ __proto__() Comment accéder à la CONSOLE ? On peut souvent accéder à la CONSOLE par <SHIFT-CTRL-I><ESC> (Opéra / Yandex / Google Chrome / Avira Scout / Comodo Dragon / Epic Privacy Browser / SeaMonkey / Firefox / Vivaldi), Variables & Functions 177 / 178 jeudi, 4. avril 2019 (10:48 ) J.D.B. DIASOLUKA Nz. Luyalu JavaScript Tome-IV ou par <CTRL-SHIFT-K> (Firefox), ou par <F12><ESC> (Edge, IE, Maxthon),... mais aussi, selon le navigateur utilisé, par : « Menu / développement Web / Outils de développement / Console » ou « Menu / développement Web / Console Web » ou « Menu / Développeur / Outils du développeur » ou « Menu / Fonctions avancées / Plus d’outils / Outils du développeur Web ou <ESC> » ou « Menu / plus d’outils / Outils de développeur / Console (ou <Show console drawer> ou<ESC>) » ou « Menu / Tools / Developer tools / Console ou <ESC> » ou « Menu / Développement Web / Console du navigateur » ou « Alt / Outils / Outils de développement Web »... Variables & Functions 178 / 178 jeudi, 4. avril 2019 (10:48 )