mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-28 22:28:02 -08:00
Compare commits
6 Commits
879174b82d
...
c69e23d4e0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c69e23d4e0 | ||
|
|
2aee46f169 | ||
|
|
22977d5ca1 | ||
|
|
a2c99c9674 | ||
|
|
26ae159967 | ||
|
|
a8a8b56ad7 |
@@ -73,7 +73,7 @@ ref(); // If you had previously unref()d a timer you can call ref() to explic
|
||||
* http://nodejs.org/api/modules.html
|
||||
* ******************************************************************************************* */
|
||||
|
||||
|
||||
// require() accepts a relative path of the given module w.r.t. the file you are importing it in.
|
||||
var module = require('./module.js'); // Loads the module module.js in the same directory.
|
||||
module.require('./another_module.js'); // load another_module as if require() was called from the module itself.
|
||||
|
||||
|
||||
@@ -286,7 +286,7 @@ for(dataType item : array) {
|
||||
|
||||
### ACCESS MODIFIERS
|
||||
|
||||
1. defualt(No keyword required)
|
||||
1. default(No keyword required)
|
||||
2. private
|
||||
3. public
|
||||
4. protected
|
||||
|
||||
Reference in New Issue
Block a user