- Complete KidsAI Explorer application - Multi-language support (English/German) - AI-powered educational guidance using OpenAI - Interactive chat interface for children - Proper placeholder translation fixes - Mobile-responsive design - Educational framework for critical thinking
12 lines
214 B
JavaScript
Executable File
12 lines
214 B
JavaScript
Executable File
'use strict';
|
|
|
|
var $isNaN = require('./isNaN');
|
|
|
|
/** @type {import('./sign')} */
|
|
module.exports = function sign(number) {
|
|
if ($isNaN(number) || number === 0) {
|
|
return number;
|
|
}
|
|
return number < 0 ? -1 : +1;
|
|
};
|