You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: times.m
    path of file: ./repos/d4m/matlab_src/@Assoc
    
    the code of the file until where you have to start completion: function AB = times(A,B)
%.*,times: Multiplies the numeric values of one associative array by the values of another.
%Associative array user function.
%  Usage:
%    AB = A .* B

    
function AB = times(A,B)
%.*,times: Multiplies the numeric values of one associative array by the values of another.
%Associative array user function.
%  Usage:
%    AB = A .* B
%    AB = times(A,B)
%  Inputs:
%    A = associative array with numeric values
%    B = associative array with numeric values
%  Outputs:
%    AB = associative array that is the intersection of the keys of A and B and product of values

  if (IsClass(A,'Assoc') && isnumeric(B))
     if (B == 0)
       AB = Assoc('','','');
       return
     end