seantrant
10/11/2017 - 10:55 AM

Simple file with functions

function 1( x, z ){
  return [ 1, x*x, x, x*z, z, z*z ]
}

function 2( x, z ){
  return [ 1, x*x, x, x*z, z, z*z ]
}

module.exports = 
{
  1,
  2
}



to import

/const thatFileName = require('../thatFileName')