JE::Undefined(3pm) User Contributed Perl Documentation JE::Undefined(3pm)

JE::Undefined - JavaScript undefined value

  use JE;
  $j = new JE;
  $js_undefined = $j->undef;
  $js_undefined->value; # undef

This class implements the JavaScript "undefined" type. There really isn't much to it.

Undefined stringifies to 'undefined', and is false as a boolean.

2023-08-25 perl v5.36.0