Skip to content

argument mismatch #1

@amuagarwal

Description

@amuagarwal

Hi it good to have the argument mismatch exception in case of:
console.log(pyformat( 'The {} {} jumped over the {}' , ['brown' ,'fox' ,'foobar'] ))
If {} count are same as argument count its fine but if
console.log(pyformat( 'The {} {} jumped over the {} The {} {} jumped over the {}' , ['brown' ,'fox' ,'foobar'] )) returns "The brown fox jumped over the foobar The undefined undefined jumped over the undefined"

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions