davidfurlong / console.lar

Small utility to make console.lar (Log and return) calls in javascript when debug mode is enabled.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

console.lar

Small utility to make console.lar (Log and return) calls in javascript when debug mode is enabled.

What it does

window.DEBUG = true
> 1 + console.lar(3)
3
--> 4
window.DEBUG = false
> 1 + console.lar(3)
--> 4

About

Small utility to make console.lar (Log and return) calls in javascript when debug mode is enabled.


Languages

Language:JavaScript 100.0%