FIND YOUR NEXT FEW LINES

Results for “STRICT”

Small, practical examples. Search by task or narrow things down below.

268 snippets foundClear filters
AngularLifecycle & observable data

Render an observable with AsyncPipe

Render an observable with AsyncPipe with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularLists & control flow

Render groups with nested loops

Render groups with nested loops with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularComponents & communication

Render signal changes with OnPush

Render signal changes with OnPush with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
TypeScriptRegular expressions & URL encoding

Reorder captured text in a replacement

TypeScript: Use numbered replacement groups to rearrange a known two-part name.

TypeScript✓ Tested
TypeScriptGetting Started

Repeat a fixed number of times

TypeScript: Use a counted loop to print three numbered steps.

TypeScript✓ Tested
TypeScriptText handling & Unicode

Repeat a string a fixed number of times

TypeScript: String.repeat requires a nonnegative finite repetition count.

TypeScript✓ Tested
TypeScriptGetting Started

Repeat while a condition holds

TypeScript: Count down while a positive number remains, updating the loop variable on each iteration.

TypeScript✓ Tested
AngularServices & dependency injection

Replace a service implementation with useClass

Replace a service implementation with useClass with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularSignals & state

Replace a signal’s value explicitly

Replace a signal’s value explicitly with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
TypeScriptArray restructuring

Replace an array segment in place

TypeScript: splice returns removed items and inserts replacements at the chosen position.

TypeScript✓ Tested
AngularSignals & state

Replace an object signal immutably

Replace an object signal immutably with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
TypeScriptGetting Started

Replace one collection element

TypeScript: Update an existing element at a known valid index.

TypeScript✓ Tested