mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
8 lines
197 B
JavaScript
8 lines
197 B
JavaScript
// Use case 1:
|
|
// Pick a number of functions from the full library
|
|
|
|
import { add, multiply } from '../src/mainAll'
|
|
|
|
console.log('\nuse case 1')
|
|
console.log('2 * 3 + 4 = ' + add(multiply(2, 3), 4))
|