Flashcard (Front and Back)

Front (Question)
Node.js: how to make one class (Server) inherit from another (EventEmitter)
Back (Answer)
var utils = require('utils');

utils.inherits(Sever, EventEmitter);


Memory Work Out Sessions use brain research to accelerate and improve memorization. Automatically scheduled daily review drills ensure sure you don't forget.





or Find more than 100,000 other things to learn

Educators and Trainers:

Tour YoYoBrain's resources for learning and teaching
Previous Card See the whole card set Next Card


Comments:

Other flashcards from Node.js
Node.js: how to grab a variable for ...       Node.js: how to create a new HTTP se...       Node.js: how to tell server to start...       Node.js: class to provide easy manip...       Node.js: REPL       Node.js: get help menu in REPL       Node.js: how to clear current contex...       Node.js: how to exit REPL       Node.js: how to write a response hea...       Node.js: how to end connection and s...       Node.js: all event functionality in ...       Node.js: EventEmitter method to crea...       Node.js: how to create an EventEmitter       Node.js: how to make one class (Serv...       Node.js: how to trigger an event on ...       Node.js: ___ class used for servicin...       Node.js: event on Server to handle i...       Node.js: HTTP server supports ___ an...       Node.js: ___ http Server event that ...       Node.js: ___ HTTP server event emitt...       Node.js: ___ http server event for e...       Node.js: how to grab connection stre...       Node.js: class used for outbound HTT...       Node.js: how to create a HTTP request       Node.js: for Node to initiate http r...       Node.js: how to specify specific enc...       Node.js: event on http.ClientRequest...       Node.js: how to send data on http.Cl...       Node.js: ____ class for return from ...       Node.js: ___ module for parsing and ...       Node.js: how to translate URL string...       Node.js: how to turn query string in...       Node.js: how to turn object into a q...       Node.js: how to create a readable fi...       Node.js: what is spool pattern to re...       Node.js: how to find size of string ...       Node.js: write a string to an existi...       Node.js: output info to STDOUT       Node.js: how to turn a domain into D...       Node.js: dns convenience method to g...       Node.js: how to create a validation ...       Node.js: when using crypt hash - how...       Node.js: HMAC       Node.js: how to read a file synchron...       Node.js: the public key cryptography...       Node.js: ___ module gives you the ab...       Node.js: what is the final hook befo...       Node.js: how to catch uncaught errors       Node.js: how to get Node version       Node.js: get the installed path of Node      





App_store_badge
What's new | About Us | Privacy Policy | Copyright Policy | Contact Us

Copyright 2007-2025 YoYoBrain.com

Managed By W3mg