Skip to content

Importing Math functions #6841

Closed
Closed
@yoktav

Description

@yoktav

Documentation issue

  • Reporting a typo
  • Reporting a documentation bug
  • Documentation improvement
  • Documentation feedback

Is there a specific documentation page you are reporting?

src/utils/math.js

Additional context or description

Thank you for creating this wonderful repo 🎉.

I don't know is this usage whether a team choice or not but i just couldn't find a good reasonable explanation of why using like this:

import { mathMin } from 'math.js';

mathMin(value1, value2);

Instead of this:

Math.min(value1, value2);

If can anyone tell me the reason is i will be very appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions