Writes a non-breaking space ( ).

Syntax

JSV_nbsp([expN])

Prototype

n/a

Returns

The nbsp function returns a non-breaking space.

Parameters

The nbsp function uses the following arguments.

Argument Description
expN Optional. The number of times to repeat the non-breaking space. Default value is one.

Remarks

n/a

Dependencies

JSV_replicate

Example

The following lines of code

document.write( 
    JSV_nbsp(5) + 
    "This sentence has 5 non-breaking spaces in front of it." );

produce