Added some maths... 😏

This commit is contained in:
Yohan Simard 2020-03-10 17:29:34 +01:00
parent 35948ddfba
commit 31cdb4aea0

View file

@ -11,23 +11,23 @@ export default class AprilFoolsManager {
static fakeMachineNumber = [ static fakeMachineNumber = [
"", "",
"a", "cos(ln(1))",
"b", "0,5⁻¹",
"c", "567/189",
"d", "√2×√8",
"e", "√50×sin(9π/4)",
"f", "⌈π+e⌉",
"g", "div(rot(B))+7",
"h", "4×sinh(0)+4",
"i", "8-(-i)²",
"j", "|5√2+5√2i|",
"k", "1×10¹+1×10⁰",
"l", "Re(√192e^(iπ/6))",
]; ];
constructor() { constructor() {
let today = new Date(); let today = new Date();
this.aprilFoolsEnabled = (today.getDate() === 1 && today.getMonth() === 3); this.aprilFoolsEnabled = (today.getDate() === 10 && today.getMonth() === 2); // TODO changer date !
} }
/** /**