From 82037c9ec4b4ca5d8036ed7a38ded53af368a051 Mon Sep 17 00:00:00 2001 From: Clement Denis Date: Wed, 10 Jun 2020 20:51:48 +0200 Subject: [PATCH] fix dead links in subjects --- subjects/is.en.md | 66 +++++++++++++++++++++--------------------- subjects/min-max.en.md | 60 +++++++++++++++++++------------------- 2 files changed, 63 insertions(+), 63 deletions(-) diff --git a/subjects/is.en.md b/subjects/is.en.md index abb46188..c7aeacc5 100644 --- a/subjects/is.en.md +++ b/subjects/is.en.md @@ -1,33 +1,33 @@ -## Is - -### Instructions - -Add new function properties to the object `is` to check a value type -- `is.num` value is a number -- `is.nan` value is NaN -- `is.str` value is a string -- `is.bool` value is a boolean -- `is.undef` value is undefined -- `is.def` value is defined -- `is.arr` value is an array -- `is.obj` value is a simple object or null objects -- `is.fun` value is a function -- `is.truthy` value is truthy -- `is.falsy` value is falsy - - -### Notions - -- [https://nan-academy.github.io/js-training/examples/primitive-and-operators](https://nan-academy.github.io/js-training/examples/primitive-and-operators) -- [https://devdocs.io/javascript/operators/typeof](https://devdocs.io/javascript/operators/typeof) -- [https://developer.mozilla.org/en-US/docs/Glossary/Truthy](https://developer.mozilla.org/en-US/docs/Glossary/Truthy) -- [https://developer.mozilla.org/en-US/docs/Glossary/Falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy) - - -### Code provided - -> all code provided will be added to your solution and doesn't need to be submited. - -```js -const is = {} -``` +## Is + +### Instructions + +Add new function properties to the object `is` to check a value type +- `is.num` value is a number +- `is.nan` value is NaN +- `is.str` value is a string +- `is.bool` value is a boolean +- `is.undef` value is undefined +- `is.def` value is defined +- `is.arr` value is an array +- `is.obj` value is a simple object or null objects +- `is.fun` value is a function +- `is.truthy` value is truthy +- `is.falsy` value is falsy + + +### Notions + +- [nan-academy.github.io/js-training/examples/primitive-and-operators](https://nan-academy.github.io/js-training/examples/primitive-and-operators.js) +- [devdocs.io/javascript/operators/typeof](https://devdocs.io/javascript/operators/typeof) +- [developer.mozilla.org/en-US/docs/Glossary/Truthy](https://developer.mozilla.org/en-US/docs/Glossary/Truthy) +- [developer.mozilla.org/en-US/docs/Glossary/Falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy) + + +### Code provided + +> all code provided will be added to your solution and doesn't need to be submited. + +```js +const is = {} +``` diff --git a/subjects/min-max.en.md b/subjects/min-max.en.md index d64308b9..25a11a5f 100644 --- a/subjects/min-max.en.md +++ b/subjects/min-max.en.md @@ -1,30 +1,30 @@ -## Min Max - -### Instructions - -Create the `max` function that takes 2 number as arguments -and returns the greatest - -> You must not just use `Math.max`, make your own. - -Create the `min` function that takes 2 number as arguments -and returns the lowest - -> You must not just use `Math.min`, make your own. - - -### Notions - -- [nan-academy.github.io/js-training/examples/functions.js](https://nan-academy.github.io/js-training/examples/functions.js) -- [nan-academy.github.io/js-training/examples/ternary.js](https://nan-academy.github.io/js-training/examples/ternary.js) -- [devdocs.io/javascript/global_objects/array/Math/min](https://devdocs.io/javascript/global_objects/array/Math/min) -- [devdocs.io/javascript/global_objects/array/Math/max](https://devdocs.io/javascript/global_objects/array/Math/max) - - -### Code provided - -> all code provided will be added to your solution and doesn't need to be submited. - -```js -Math.min = Math.max = undefined -``` +## Min Max + +### Instructions + +Create the `max` function that takes 2 number as arguments +and returns the greatest + +> You must not just use `Math.max`, make your own. + +Create the `min` function that takes 2 number as arguments +and returns the lowest + +> You must not just use `Math.min`, make your own. + + +### Notions + +- [nan-academy.github.io/js-training/examples/functions.js](https://nan-academy.github.io/js-training/examples/functions.js) +- [nan-academy.github.io/js-training/examples/ternary.js](https://nan-academy.github.io/js-training/examples/ternary.js) +- [devdocs.io/javascript/global_objects/math/min](https://devdocs.io/javascript/global_objects/math/min) +- [devdocs.io/javascript/global_objects/math/max](https://devdocs.io/javascript/global_objects/math/max) + + +### Code provided + +> all code provided will be added to your solution and doesn't need to be submited. + +```js +Math.min = Math.max = undefined +```