createFromBuffer() / addRepresentation() / toBitmap() / getBitmap() crash‑reporter: get/setUploadToServer to dynamically configure / renamed the autoSubmit option protocol.interceptHttpProtocol() / tray.getBounds() / webview.capturePage() / dialog.showHiddenFiles option / webFrame.getResourceUsage(), clearCache() / autoUpdater more details to error message / process.defaultApp Support for native PDF rendering / ELECTRON_NO_ASAR environment variable / Node integration in web workers / PDB files in releases for Windows 11
y A r r a y e x t e n d s A r r a y { / / O v e r w r i t e s p e c i e s t o t h e p a r e n t A r r a y c o n s t r u c t o r s t a t i c g e t [ S y m b o l . s p e c i e s ] ( ) { r e t u r n A r r a y ; } } v a r a = n e w M y A r r a y ( 1 , 2 , 3 ) ; v a r m a p p e d = a . m a p ( x = > x * x ) ; c o n s o l e . l o g ( m a p p e d i n s t a n c e o f M y A r r a y ) ; / / f a l s e c o n s o l e . l o g ( m a p p e d i n s t a n c e o f A r r a y ) ; / / t r u e 16
s s C o n t a i n e r { . . . S y m b o l . i t e r a t o r { . . . } . . . } l e t c = n e w C o n t a i n e r ; / / L o g s " [ S y m b o l . i t e r a t o r ] " . c o n s o l e . l o g ( c [ S y m b o l . i t e r a t o r ] . n a m e ) ; 17
a s s M y A r r a y { s t a t i c [ S y m b o l . h a s I n s t a n c e ] ( i n s t a n c e ) { r e t u r n A r r a y . i s A r r a y ( i n s t a n c e ) ; } } c o n s o l e . l o g ( [ ] i n s t a n c e o f M y A r r a y ) ; / / t r u e 18
(including Array, Map, Set, String, TypedArray, arguments l e t i t e r a b l e = [ 1 0 , 2 0 , 3 0 ] ; f o r ( l e t v a l u e o f i t e r a b l e ) { v a l u e + = 1 ; c o n s o l e . l o g ( v a l u e ) ; } / / 1 1 / / 2 1 / / 3 1 19
s e f u n c t i o n l o g F e t c h ( u r l ) { r e t u r n f e t c h ( u r l ) . t h e n ( r e s p o n s e = > r e s p o n s e . t e x t ( ) ) . t h e n ( t e x t = > { c o n s o l e . l o g ( t e x t ) ; } ) . c a t c h ( e r r = > { c o n s o l e . e r r o r ( ' f e t c h f a i l e d ' , e r r ) ; } ) ; } / / a s y n c / a w a i t v e r s i o n t r y { c o n s t r e s p o n s e = a w a i t f e t c h ( u r l O p e n S o u r c e c o n s o l e . l o g ( a w a i t r e s p o n s e . t e x t ( ) ) ; } c a t c h ( e r r ) { c o n s o l e . l o g ( ' f e t c h f a i l e d ' , e r r ) ; } } s Custom elements V1‑ Mobile target features: Pointer event, persistent storage, rich notification Web Share API, Web Bluetooth API, WebVR, WebGL 2.0 21
Hot Module Loading forge beta site: Electron Forge Spell Check, 한글가능 Automatically move Electron apps to the Applications directory Platform detection for Electron, Web Browser and Node Quickly inspect an element at mouse position Templates bundled with Electron Forge 27