Skip to main content

functions

Explores advanced JavaScript function patterns, closures, and scope, enhancing coding skills for developers.

Install this skill

or
65/100

Security score

The functions skill was audited on Feb 9, 2026 and we found 7 security issues across 1 threat category. Review the findings below before installing.

Categories Tested

Security Issues

medium line 33

Template literal with variable interpolation in command context

SourceSKILL.md
33function greet(name) { return `Hello, ${name}!`; }
medium line 36

Template literal with variable interpolation in command context

SourceSKILL.md
36const greet = function(name) { return `Hello, ${name}!`; };
medium line 39

Template literal with variable interpolation in command context

SourceSKILL.md
39const greet = (name) => `Hello, ${name}!`;
medium line 40

Template literal with variable interpolation in command context

SourceSKILL.md
40const greet = name => `Hello, ${name}!`; // Single param
medium line 41

Template literal with variable interpolation in command context

SourceSKILL.md
41const getUser = async (id) => await fetch(`/api/${id}`);
medium line 168

Template literal with variable interpolation in command context

SourceSKILL.md
168log: (msg) => console.log(`[${prefix}] ${msg}`),
medium line 169

Template literal with variable interpolation in command context

SourceSKILL.md
169error: (msg) => console.error(`[${prefix}] ${msg}`)
Scanned on Feb 9, 2026
View Security Dashboard