UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

10 lines (9 loc) 450 B
"use strict"; module.exports = { 'name': 'print', 'category': 'Utils', 'syntax': ['print(template, values)', 'print(template, values, precision)'], 'description': 'Interpolate values into a string template.', 'examples': ['print("Lucy is $age years old", {age: 5})', 'print("The value of pi is $pi", {pi: pi}, 3)', 'print("Hello, $user.name!", {user: {name: "John"}})', 'print("Values: $0, $1, $2", [6, 9, 4])'], 'seealso': ['format'] };