blob: 06c25e2aabb21f294ea143632129d7a2afad582d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
var nodes = require('../nodes');
/**
* Get Math `prop`.
*
* @param {String} prop
* @return {Unit}
* @api private
*/
module.exports = function math(prop){
return new nodes.Unit(Math[prop.string]);
};
|