Skip to content

Instantly share code, notes, and snippets.

View UlisesGascon's full-sized avatar
😎
Focus on FOSS Projects!

Ulises Gascón UlisesGascon

😎
Focus on FOSS Projects!
View GitHub Profile
@UlisesGascon
UlisesGascon / isset() in javascript
Created May 28, 2015 20:00
isset() in JS ... like in PHP
function isset ()
{
var argumentos = arguments,
duracion = argumentos.length,
valorCero = 0,
undef;
if (duracion === 0)
{
int ledPin = 13;
//led for visualization (use 13 for built-in led)
int speakerPin = 11;
//speaker connected to one of the PWM ports
#define c 261
#define d 294
#define e 329
#define f 349
http://www.youtube.com/watch?v=MXEGLGmpCfo
function throwStack (pcErrorMessage) {
var oError = new Error(pcErrorMessage);
return oError.stack;
};
// try catch (memory usage problems)
function ejemplo () {
// ...
try {