jr_webdev

About jr_webdev

This author has not yet filled in any details.
So far jr_webdev has created 1 blog entries.

Pieces of code

Url redirect with index.php // PHP permanent URL redirect - insert index.php stored in root folder header("Location: https://janridarsky.com", true, 301); exit(); JS - filer func const customFunction = (elem) => { return elem <= 7 } const filter = (...args) => { return args.filter(el => customFunction(el)).sort(); } console.log(filter(1,3,5,4,8)) Array destructuring

Pieces of code2018-09-10T16:11:26+00:00