p5.Vector.mult issue

I am trying to multiply two vectors elementwise using p5.Vector.mult(). It shows some odd behavior.
Could you tell me what am I doing wrong?
My code:

    let v1 = createVector(-1,1,0);
    const rot_axis = p5.Vector.mult(this.orbit_normal,v1);
    print('A');
    print(this.orbit_normal,v1);
    print('B');
    print (rot_axis);
    print('C');

Output:

Why is the mult function showing odd behavior?

Go to OpenProcessing.org/sketch/create

Then paste this example below:

function setup() {
  const v1 = createVector(
    .07059288589999414,
    .07059288589999414,
    .9950041652780257
  );

  const v2 = createVector(-1, 1, 0);

  const v3 = p5.Vector.mult(v1, v2);

  print(v1.toString(), v2.toString(), v3.toString());
}

You should get these 3 p5.Vector results below:
p5.Vector.mult