logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

JE::Object::String - JavaScript String object class

Description

       This class implements JavaScript String objects for JE. The difference between this and JE::String is
       that that module implements primitive string value, while this module implements the objects.

Methods

       See JE::Types for descriptions of most of the methods. Only what is specific to JE::Object::String is
       explained here.

       value
           Returns a Perl scalar.

       value16
           Returns  a Perl scalar containing a UTF-16 string (i.e., with surrogate pairs if the string has chars
           outside the BMP). This is here more for internal usage than anything else.

Name

       JE::Object::String - JavaScript String object class

See Also

       JE
       JE::Types
       JE::String
       JE::Object

perl v5.36.0                                       2023-08-25                            JE::Object::String(3pm)

Synopsis

         use JE;
         use JE::Object::String;

         $j = new JE;

         $js_str_obj = new JE::Object::String $j, "etetfyoyfoht";

         $perl_str = $js_str_obj->value;

See Also