Uname: Linux webm016.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 7.4.33 [ PHP INFO ] PHP os: Linux
Server Ip: 54.36.31.145
Your Ip: 216.73.216.182
User: homesquasz (91404) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : 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>

© 2026 GrazzMean