non_std 0.1.4

Collection of general purpose tools for solving problems. Fundamentally extend the language without spoiling, so may be used solely or in conjunction with another module of such kind.
Documentation
/*
  The problem of limited values :
  Set object field to a value.
  If value === null, do nothing

  What if we want to add `null` as the value ?
*/

console.log( '0_Imlementation.s' );

function objectSetField( obj, field, value )
{
  if( value === null )
  return;
  else
  obj[ field ] = value;
}

module.exports = objectSetField;