| name | fundamentals |
| description | Core JavaScript fundamentals including variables, data types, operators, control flow, and basic syntax. Essential foundation for all JavaScript development. |
| sasmp_version | 1.3.0 |
| bonded_agent | 01-javascript-fundamentals |
| bond_type | PRIMARY_BOND |
| skill_type | reference |
| response_format | code_first |
| max_tokens | 1500 |
| parameter_validation | {"required":["topic"],"optional":["depth","examples"]} |
| retry_logic | {"on_ambiguity":"ask_clarification","fallback":"provide_basics_first"} |
| observability | {"entry_log":"Fundamentals skill activated","exit_log":"Fundamentals reference provided"} |
JavaScript Fundamentals Skill
Quick Reference Card
Variable Declaration
const PI = 3.14159;
let count = 0;
var legacy = "avoid";
8 Data Types
| Type | Example | typeof |
|---|
| String | "hello" | "string" |
| Number | 42, 3.14, NaN | "number" |
| Boolean | true, false | "boolean" |
| Null | null | "object" |
| Undefined | undefined | "undefined" |
| Symbol | Symbol('id') | "symbol" |
| BigInt | 9007199254740991n | "bigint" |
| Object | {}, [], fn | "object" |
Operators Cheat Sheet
+ - * / % **
=== !== > < >= <=
&& || !
?? ?.
= += -= *= /= ??= ||= &&=
Control Flow Patterns
() {
(!input) { : };
(input. < ) { : };
{ : };
}
() {
(status) {
: ;
: ;
: ;
: ;
}
}