mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
Remove semicolons.
This commit is contained in:
12
floor.js
12
floor.js
@@ -1,4 +1,4 @@
|
||||
import createRound from './.internal/createRound.js';
|
||||
import createRound from './.internal/createRound.js'
|
||||
|
||||
/**
|
||||
* Computes `number` rounded down to `precision`.
|
||||
@@ -10,15 +10,15 @@ import createRound from './.internal/createRound.js';
|
||||
* @returns {number} Returns the rounded down number.
|
||||
* @example
|
||||
*
|
||||
* floor(4.006);
|
||||
* floor(4.006)
|
||||
* // => 4
|
||||
*
|
||||
* floor(0.046, 2);
|
||||
* floor(0.046, 2)
|
||||
* // => 0.04
|
||||
*
|
||||
* floor(4060, -2);
|
||||
* floor(4060, -2)
|
||||
* // => 4000
|
||||
*/
|
||||
const floor = createRound('floor');
|
||||
const floor = createRound('floor')
|
||||
|
||||
export default floor;
|
||||
export default floor
|
||||
|
||||
Reference in New Issue
Block a user