JavaScript: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 13: Line 13:
=Things I've Found Useful While Working with Chrome Console=
=Things I've Found Useful While Working with Chrome Console=


var a = 10;
<syntaxhighlight lang='javascript'>
console.log(a);
var a = 10;
console.log(a);
 
var workersUp = function(targetCnt) {
    return Cluster.workers().length == targetCnt;
};
</syntaxhighlight>

Revision as of 00:20, 14 August 2019

Subjects

Examples

Organizatorium

Things I've Found Useful While Working with Chrome Console

var a = 10;
console.log(a);

var workersUp = function(targetCnt) {
    return Cluster.workers().length == targetCnt;
};