Skip to content

Commit dad1b97

Browse files
committed
Wrap in single quotes
1 parent e888215 commit dad1b97

File tree

2 files changed

+10
-10
lines changed
  • lib/node_modules/@stdlib/complex

2 files changed

+10
-10
lines changed

lib/node_modules/@stdlib/complex/float32/examples/index.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ var Complex64 = require( './../lib' );
2323
var z = new Complex64( 3.0, -2.0 );
2424

2525
console.log( 'type: %s', typeof z );
26-
// => type: object
26+
// => 'type: object'
2727

2828
console.log( 'str: %s', z );
29-
// => str: 3 - 2i
29+
// => 'str: 3 - 2i'
3030

3131
console.log( 'real: %d', z.re );
32-
// => real: 3.0
32+
// => 'real: 3'
3333

3434
console.log( 'imag: %d', z.im );
35-
// => imag: -2.0
35+
// => 'imag: -2'
3636

3737
console.log( 'JSON: %s', JSON.stringify( z ) );
38-
// => JSON: {"type":"Complex64","re":3,"im":-2}
38+
// => 'JSON: {"type":"Complex64","re":3,"im":-2}'

lib/node_modules/@stdlib/complex/float64/examples/index.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ var Complex128 = require( './../lib' );
2323
var z = new Complex128( 3.0, -2.0 );
2424

2525
console.log( 'type: %s', typeof z );
26-
// => typed: object
26+
// => 'type: object'
2727

2828
console.log( 'str: %s', z );
29-
// => str: 3 - 2i
29+
// => 'str: 3 - 2i'
3030

3131
console.log( 'real: %d', z.re );
32-
// => real: 3.0
32+
// => 'real: 3'
3333

3434
console.log( 'imag: %d', z.im );
35-
// => imag: -2.0
35+
// => 'imag: -2'
3636

3737
console.log( 'JSON: %s', JSON.stringify( z ) );
38-
// => JSON: {"type":"Complex128","real":3,"imag":-2}
38+
// => 'JSON: {"type":"Complex128","re":3,"im":-2}'

0 commit comments

Comments
 (0)