⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
invoice
/
node_modules
/
ev-emitter
/
sandbox
/
Edit File: 1.html
<!doctype html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width" /> <title>1</title> </head> <body> <h1>1</h1> <script src="../ev-emitter.js"></script> <script> var ee = new EvEmitter; var hey = function( a, b, c ) { console.log('hey', a, b, c ) }; var ho = function( a, b, c ) { console.log('ho', a, b, c ) }; var letsGo = function( a, b, c ) { console.log('lets go', a, b, c ) }; ee.on( 'foo', hey ); ee.once( 'foo', ho ); ee.on( 'foo', letsGo ); ee.emitEvent( 'foo', [ 1, 2, 3 ] ); ee.off('foo', hey ); ee.emitEvent( 'foo', [ 4, 5, 6 ] ); </script> </body> </html>
Simpan